From: David Brownell <david-b@pacbell.net>
To: netdev@vger.kernel.org
Cc: Claudio Lanconelli <lanconelli.claudio@eptar.com>,
lkml <linux-kernel@vger.kernel.org>
Subject: [RESEND #4/patch 2.6.26-rc6] net/enc28j60: section fix
Date: Thu, 12 Jun 2008 21:36:24 -0700 [thread overview]
Message-ID: <200806122136.24921.david-b@pacbell.net> (raw)
Minor bugfixes to the enc28j60 driver ... wrong section marking,
indentation, and bogus use of spi_bus_type.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Claudio Lanconelli <lanconelli.claudio@eptar.com>
---
Previously sent: 18-April, 19-February, 6-February.
drivers/net/enc28j60.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
--- g26.orig/drivers/net/enc28j60.c 2008-02-22 19:48:13.000000000 -0800
+++ g26/drivers/net/enc28j60.c 2008-02-22 19:48:14.000000000 -0800
@@ -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),
};
next reply other threads:[~2008-06-13 4:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-13 4:36 David Brownell [this message]
2008-06-13 8:50 ` [RESEND #4/patch 2.6.26-rc6] net/enc28j60: section fix Andrew Morton
2008-06-18 3:26 ` Jeff Garzik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200806122136.24921.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=lanconelli.claudio@eptar.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).