stmmac: prepare stmmac platform to support stand alone drivers
authorJoachim Eastwood <manabian@gmail.com>
Thu, 14 May 2015 10:10:58 +0000 (12:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 May 2015 16:44:21 +0000 (12:44 -0400)
commit902b1607f4fd184de4d1518d19d377528207861e
tree99ee90a2124df14d263d93a14e9958fa2ea88e7b
parentf8cff12b6fb62ef124bc1e06502d987c6da71731
stmmac: prepare stmmac platform to support stand alone drivers

Prepare the stmmac platform code to support standalone drivers
by exporting the need functions and having of_match_device use
the match table reference already present in the driver struct.

This will allow us to reuse the platform driver functions from
this code easily in other stand alone platform drivers.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.h