]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit16eee0d04e28baf5ede3f67469b10f3e109784c0
tree99ee90a2124df14d263d93a14e9958fa2ea88e7b
parent0d6f718585d59a1035f71b277e30951de7fd2ebf
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