diff options
Diffstat (limited to 'drivers/net/ep93xx.c')
-rw-r--r-- | drivers/net/ep93xx.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/net/ep93xx.c b/drivers/net/ep93xx.c index 37c9f0a81e..1ecef13394 100644 --- a/drivers/net/ep93xx.c +++ b/drivers/net/ep93xx.c @@ -663,11 +663,4 @@ static struct driver_d ep93xx_eth_driver = { .name = "ep93xx_eth", .probe = ep93xx_eth_probe, }; - -static int ep93xx_eth_init(void) -{ - platform_driver_register(&ep93xx_eth_driver); - return 0; -} - -device_initcall(ep93xx_eth_init); +device_platform_driver(ep93xx_eth_driver); |