summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-03-24 15:04:53 +0800
committerSamuel Ortiz <sameo@linux.intel.com>2011-03-27 00:09:34 +0100
commit8537548645231424b457dd277900054c59096920 (patch)
tree2b9692da51e37fb3543d0b8ff5e8cf97bfdcb380 /drivers/mfd
parent8de6bc7f6ba58dd717e4a65e3bf4a746116fb874 (diff)
downloadop-kernel-dev-8537548645231424b457dd277900054c59096920.zip
op-kernel-dev-8537548645231424b457dd277900054c59096920.tar.gz
mfd: Add MODULE_DEVICE_TABLE to rdc321x-southbridge
The device table is required to load modules based on modaliases. After adding MODULE_DEVICE_TABLE, below entry will be added to modules.pcimap: rdc321x-southbridge 0x000017f3 0x00006030 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0 Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/rdc321x-southbridge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/rdc321x-southbridge.c b/drivers/mfd/rdc321x-southbridge.c
index 193c940..10dbe63 100644
--- a/drivers/mfd/rdc321x-southbridge.c
+++ b/drivers/mfd/rdc321x-southbridge.c
@@ -97,6 +97,7 @@ static DEFINE_PCI_DEVICE_TABLE(rdc321x_sb_table) = {
{ PCI_DEVICE(PCI_VENDOR_ID_RDC, PCI_DEVICE_ID_RDC_R6030) },
{}
};
+MODULE_DEVICE_TABLE(pci, rdc321x_sb_table);
static struct pci_driver rdc321x_sb_driver = {
.name = "RDC321x Southbridge",
OpenPOWER on IntegriCloud