netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vincent <vincent.stehle@laposte.net>
To: netdev@vger.kernel.org
Subject: [PATCH] smsc911x: Add MODULE_ALIAS()
Date: Fri, 24 Sep 2010 00:08:05 +0200	[thread overview]
Message-ID: <4C9BCFC5.9090808@bergerie> (raw)

[-- Attachment #1: Type: text/plain, Size: 189 bytes --]


Hi,

The smsc911x ethernet driver is lacking a module alias. This does
prevent auto-loading of the driver.

The attached patch fixes this. Please apply.

Best regards,

-- 
Vincent Stehlé

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-smsc911x-Add-MODULE_ALIAS.patch --]
[-- Type: text/x-patch; name="0001-smsc911x-Add-MODULE_ALIAS.patch", Size: 847 bytes --]

>From 54d0c88812d9707fc721ab4b6a2f669a44f873d7 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Vincent=20Stehl=C3=A9?= <vincent.stehle@laposte.net>
Date: Thu, 23 Sep 2010 23:19:14 +0200
Subject: [PATCH] smsc911x: Add MODULE_ALIAS()
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

This enables auto loading for the smsc911x ethernet driver.

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
---
 drivers/net/smsc911x.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c
index 7a7b01a..1cf5b8a 100644
--- a/drivers/net/smsc911x.c
+++ b/drivers/net/smsc911x.c
@@ -58,6 +58,7 @@
 
 MODULE_LICENSE("GPL");
 MODULE_VERSION(SMSC_DRV_VERSION);
+MODULE_ALIAS("platform:smsc911x");
 
 #if USE_DEBUG > 0
 static int debug = 16;
-- 
1.5.6.5


             reply	other threads:[~2010-09-23 22:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-23 22:08 Vincent [this message]
2010-09-27  1:50 ` [PATCH] smsc911x: Add MODULE_ALIAS() David Miller

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=4C9BCFC5.9090808@bergerie \
    --to=vincent.stehle@laposte.net \
    --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).