aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-02-28 01:32:15 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2011-03-23 05:41:59 -0400
commit6991ec255af960e1349a21ec2782ea67408b7eb6 (patch)
tree27630a360f9ee0fe7b058da03866761400152a46 /drivers/mfd
parent1310e6d638b302bd9cd064f8de7dcd546bb7f597 (diff)
mfd: Add MODULE_DEVICE_TABLE to mc13xxx-core
The device table is required to load modules based on modaliases. After adding the MODULE_DEVICE_TABLE, below entries will be added to modules.alias: alias spi:mc13892 mc13xxx_core alias spi:mc13783 mc13xxx_core Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/mc13xxx-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/mc13xxx-core.c b/drivers/mfd/mc13xxx-core.c
index 97a3b400ed4f..668634e89e81 100644
--- a/drivers/mfd/mc13xxx-core.c
+++ b/drivers/mfd/mc13xxx-core.c
@@ -803,6 +803,7 @@ static const struct spi_device_id mc13xxx_device_id[] = {
803 /* sentinel */ 803 /* sentinel */
804 } 804 }
805}; 805};
806MODULE_DEVICE_TABLE(spi, mc13xxx_device_id);
806 807
807static struct spi_driver mc13xxx_driver = { 808static struct spi_driver mc13xxx_driver = {
808 .id_table = mc13xxx_device_id, 809 .id_table = mc13xxx_device_id,