netdev
[Top] [All Lists]

[PATCH 2.6.9-rc3] sk98lin - register the driver with hotplug

To: mlindner@xxxxxxxxxxxxx
Subject: [PATCH 2.6.9-rc3] sk98lin - register the driver with hotplug
From: Michal Schmidt <xschmi00@xxxxxxxxxxxxxxxxxx>
Date: Fri, 01 Oct 2004 00:05:22 +0200
Cc: netdev@xxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.8 (X11/20040927)
Hello,

The attached patch allows the sk98lin module to be loaded automatically by hotplug.

Michal Schmidt
--- linux-2.6.9-rc3.orig/drivers/net/sk98lin/skge.c     2004-09-30 
23:38:44.181252712 +0200
+++ linux-2.6.9-rc3/drivers/net/sk98lin/skge.c  2004-09-30 21:02:04.000000000 
+0200
@@ -5169,6 +5169,8 @@ static struct pci_device_id skge_pci_tbl
        { 0, }
 };
 
+MODULE_DEVICE_TABLE(pci, skge_pci_tbl);
+
 static struct pci_driver skge_driver = {
        .name           = "skge",
        .id_table       = skge_pci_tbl,
<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH 2.6.9-rc3] sk98lin - register the driver with hotplug, Michal Schmidt <=