public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers/misc: Add MODULE_DEVICE_TABLE to pch_phub
@ 2011-03-17  7:00 Axel Lin
  0 siblings, 0 replies; only message in thread
From: Axel Lin @ 2011-03-17  7:00 UTC (permalink / raw)
  To: linux-kernel; +Cc: Greg Kroah-Hartman, Tomoya MORINAGA, Andrew Morton

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

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/misc/pch_phub.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/misc/pch_phub.c b/drivers/misc/pch_phub.c
index 5dd0b92..b41e108 100644
--- a/drivers/misc/pch_phub.c
+++ b/drivers/misc/pch_phub.c
@@ -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",
-- 
1.7.1




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-17  7:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-17  7:00 [PATCH] drivers/misc: Add MODULE_DEVICE_TABLE to pch_phub Axel Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox