From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John W. Linville" Subject: [patch 2.6.14-rc4 1/3] sk98lin: remove MODULE_DEVICE_TABLE to avoid conflicts w/ skge Date: Tue, 18 Oct 2005 21:31:00 -0400 Message-ID: <10182005213100.12360@bilbo.tuxdriver.com> References: <10182005213059.12304@bilbo.tuxdriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: jgarzik@pobox.com, shemminger@osdl.org, mlindner@syskonnect.de, rroesler@syskonnect.de Return-path: To: linux-kernel@vger.kernel.org, netdev@vger.kernel.org In-Reply-To: <10182005213059.12304@bilbo.tuxdriver.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org The skge driver claims support for the identical list of hardware supported by the in-kernel sk98lin driver. This can confuse userland tools which pick modules based on the PCI ID lists exported through MODULE_DEVICE_TABLE. This patch removes the MODULE_DEVICE_TABLE line from sk98lin. The driver can still be loaded manually if necessary or desireable. Signed-off-by: John W. Linville --- drivers/net/sk98lin/skge.c | 2 -- 1 files changed, 2 deletions(-) diff --git a/drivers/net/sk98lin/skge.c b/drivers/net/sk98lin/skge.c --- a/drivers/net/sk98lin/skge.c +++ b/drivers/net/sk98lin/skge.c @@ -5227,8 +5227,6 @@ static struct pci_device_id skge_pci_tbl { 0 } }; -MODULE_DEVICE_TABLE(pci, skge_pci_tbl); - static struct pci_driver skge_driver = { .name = "sk98lin", .id_table = skge_pci_tbl,