]> 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)
commit28a2129289bc42af366c8ce655732f292d58f31c
tree99ee90a2124df14d263d93a14e9958fa2ea88e7b
parente3c6b614c5835e42263862f821e9dd761bfef70f
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