Skip to contentSkip to conversation

drivers/misc: Add MODULE_DEVICE_TABLE to pch_phub

PATCH New Axel Lin 1 participant 1 message Mar 17, 2011 Char and misc drivers

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 drivers/misc: Add MODULE_DEVICE_TABLE to pch_phub

The device table is required to load modules based on modaliases.

---
 drivers/misc/pch_phub.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/misc/pch_phub.c +1 -0
index 5dd0b92..b41e108 100644
@@ -731,6 +731,7 @@ static struct pci_device_id pch_phub_pcidev_id[] = {
 	{ PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ROHM_ML7213_PHUB), 2,  },
 	{ }
 };
+MODULE_DEVICE_TABLE(pci, pch_phub_pcidev_id);
 
 static struct pci_driver pch_phub_driver = {
 	.name = "pch_phub",
Signature · 1 line
1.7.1