Skip to contentSkip to conversation

net/enc28j60: section fix

PATCH RESEND Applied David Brownell 3 participants 3 messages Jun 13, 2008 – Jun 18, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 net/enc28j60: section fix

Minor bugfixes to the enc28j60 driver ... wrong section marking, indentation, and bogus use of spi_bus_type.

---
Previously sent: 18-April, 19-February, 6-February.

 drivers/net/enc28j60.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/net/enc28j60.c +2 -3
@@ -1556,7 +1556,7 @@ error_alloc:
 	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,9 +1573,8 @@ static int enc28j60_remove(struct spi_de
 static struct spi_driver enc28j60_driver = {
 	.driver = {
 		   .name = DRV_NAME,
-		   .bus = &spi_bus_type,
 		   .owner = THIS_MODULE,
-		   },
+	 },
 	.probe = enc28j60_probe,
 	.remove = __devexit_p(enc28j60_remove),
 };
#1 lore raw
Quoted 1 line · On Thu, 12 Jun 2008 21:36:24 -0700 David Brownell <[email protected]> wrote:

Previously sent: 18-April, 19-February, 6-February.

That's my job :(

I shoved these in my to-apply folder, but I won't get onto it until week after next. Which should be a fun time.