Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1556,7 +1556,7 @@ static int __devinit enc28j60_probe(struct spi_device *spi)
	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);

@@ -1573,7 +1573,6 @@ static int enc28j60_remove(struct spi_device *spi)
static struct spi_driver enc28j60_driver = {
	.driver = {
		   .name = DRV_NAME,
		   .bus = &spi_bus_type,
		   .owner = THIS_MODULE,
	 },
	.probe = enc28j60_probe,