Skip to contentSkip to conversation

smsc911x: Add MODULE_ALIAS()

PATCH Applied Vincent 2 participants 2 messages Sep 23, 2010 – Sep 27, 2010

Subsystems (2)
lore
Share & tools
lore

Vincent

author
#0 lore raw

PATCH 1/1 smsc911x: Add MODULE_ALIAS()

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,

Signature · 1 line
Vincent Stehlé
Quoted 1 line

From 54d0c88812d9707fc721ab4b6a2f669a44f873d7 Mon Sep 17 00:00:00 2001

From: =?utf-8?q?Vincent=20Stehl=C3=A9?= <[email protected]>
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.

---
 drivers/net/smsc911x.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/smsc911x.c +1 -0
index 7a7b01a..1cf5b8a 100644
@@ -58,6 +58,7 @@
 
 MODULE_LICENSE("GPL");
 MODULE_VERSION(SMSC_DRV_VERSION);
+MODULE_ALIAS("platform:smsc911x");
 
 #if USE_DEBUG > 0
 static int debug = 16;
Signature · 1 line
1.5.6.5
maintainer Applied
#1 lore raw

From: Vincent <[email protected]>
Date: Fri, 24 Sep 2010 00:08:05 +0200

Quoted 4 lines

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

The attached patch fixes this. Please apply.

Applied, thanks.