diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/enc28j60.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/enc28j60.c b/drivers/net/enc28j60.c index 46a90e9ec563..0f1581cbd101 100644 --- a/drivers/net/enc28j60.c +++ b/drivers/net/enc28j60.c | |||
@@ -1556,7 +1556,7 @@ error_alloc: | |||
1556 | return ret; | 1556 | return ret; |
1557 | } | 1557 | } |
1558 | 1558 | ||
1559 | static int enc28j60_remove(struct spi_device *spi) | 1559 | static int __devexit enc28j60_remove(struct spi_device *spi) |
1560 | { | 1560 | { |
1561 | struct enc28j60_net *priv = dev_get_drvdata(&spi->dev); | 1561 | struct enc28j60_net *priv = dev_get_drvdata(&spi->dev); |
1562 | 1562 | ||
@@ -1573,9 +1573,8 @@ static int enc28j60_remove(struct spi_device *spi) | |||
1573 | static struct spi_driver enc28j60_driver = { | 1573 | static struct spi_driver enc28j60_driver = { |
1574 | .driver = { | 1574 | .driver = { |
1575 | .name = DRV_NAME, | 1575 | .name = DRV_NAME, |
1576 | .bus = &spi_bus_type, | ||
1577 | .owner = THIS_MODULE, | 1576 | .owner = THIS_MODULE, |
1578 | }, | 1577 | }, |
1579 | .probe = enc28j60_probe, | 1578 | .probe = enc28j60_probe, |
1580 | .remove = __devexit_p(enc28j60_remove), | 1579 | .remove = __devexit_p(enc28j60_remove), |
1581 | }; | 1580 | }; |