Skip to contentSkip to conversation

pata_isapnp: use MODULE_DEVICE_TABLE()

PATCH In review Jeff Garzik 2 participants 2 messages Aug 2, 2007 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pata_isapnp: use MODULE_DEVICE_TABLE()

I found this while doing ISDN PCI API conversions... I presume this omission was not intentional?

drivers/ata/pata_isapnp.c +2 -0
index 5525518..91a396f 100644
@@ -139,6 +139,8 @@ static struct pnp_device_id isapnp_devices[] = {
 	{.id = ""}
 };
 
+MODULE_DEVICE_TABLE(pnp, isapnp_devices);
+
 static struct pnp_driver isapnp_driver = {
 	.name		= DRV_NAME,
 	.id_table	= isapnp_devices,