Skip to contentSkip to conversation

sk98lin - register the driver with hotplug

PATCH In review Michal Schmidt 2 participants 2 messages Sep 30, 2004 – Oct 1, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sk98lin - register the driver with hotplug

Hello,

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

Michal Schmidt

drivers/net/sk98lin/skge.c +2 -0
@@ -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,
#1 lore raw

Hi Michal,

thanks for the patch. I'll include the changes into the driver.

Cheers,
Mirko

Quoted 20 lines · Michal Schmidt

Hello,

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

Michal Schmidt

------------------------------------------------------------------------

drivers/net/sk98lin/skge.c +2 -0
@@ -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,