Commit 6fd65882 authored by David Brownell's avatar David Brownell Committed by Jeff Garzik

net/enc28j60: section fix

Minor bugfixes to the enc28j60 driver ... wrong section marking,
indentation, and bogus use of spi_bus_type.
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Acked-by: default avatarClaudio Lanconelli <lanconelli.claudio@eptar.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent a3b4fced
...@@ -1556,7 +1556,7 @@ static int __devinit enc28j60_probe(struct spi_device *spi) ...@@ -1556,7 +1556,7 @@ static int __devinit enc28j60_probe(struct spi_device *spi)
return ret; return ret;
} }
static int enc28j60_remove(struct spi_device *spi) static int __devexit enc28j60_remove(struct spi_device *spi)
{ {
struct enc28j60_net *priv = dev_get_drvdata(&spi->dev); struct enc28j60_net *priv = dev_get_drvdata(&spi->dev);
...@@ -1573,7 +1573,6 @@ static int enc28j60_remove(struct spi_device *spi) ...@@ -1573,7 +1573,6 @@ static int enc28j60_remove(struct spi_device *spi)
static struct spi_driver enc28j60_driver = { static struct spi_driver enc28j60_driver = {
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.bus = &spi_bus_type,
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = enc28j60_probe, .probe = enc28j60_probe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment