From patchwork Thu Sep 23 22:08:05 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Vincent_Stehl=C3=A9?= X-Patchwork-Id: 65595 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 0213DB70D1 for ; Fri, 24 Sep 2010 08:08:19 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753315Ab0IWWIO (ORCPT ); Thu, 23 Sep 2010 18:08:14 -0400 Received: from smtp4-g21.free.fr ([212.27.42.4]:53491 "EHLO smtp4-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752350Ab0IWWIN (ORCPT ); Thu, 23 Sep 2010 18:08:13 -0400 Received: from romuald.bergerie (unknown [82.228.252.113]) by smtp4-g21.free.fr (Postfix) with ESMTP id 3BDA44C8068 for ; Fri, 24 Sep 2010 00:08:07 +0200 (CEST) Received: by romuald.bergerie (Postfix, from userid 65534) id F21E712013C; Fri, 24 Sep 2010 00:08:05 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on romuald.bergerie X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=ALL_TRUSTED, FH_FROMEML_NOTLD autolearn=no version=3.2.5 Received: from [192.168.124.7] (clopinette.bergerie [192.168.124.7]) by romuald.bergerie (Postfix) with ESMTPS id 9EAE5120104 for ; Fri, 24 Sep 2010 00:08:05 +0200 (CEST) Message-ID: <4C9BCFC5.9090808@bergerie> Date: Fri, 24 Sep 2010 00:08:05 +0200 From: Vincent User-Agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100329) MIME-Version: 1.0 To: netdev@vger.kernel.org Subject: [PATCH] smsc911x: Add MODULE_ALIAS() X-Enigmail-Version: 0.95.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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, From 54d0c88812d9707fc721ab4b6a2f669a44f873d7 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Vincent=20Stehl=C3=A9?= 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é --- 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