Commit 6991ec255af960e1349a21ec2782ea67408b7eb6

Authored by Axel Lin
Committed by Samuel Ortiz
1 parent 1310e6d638

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/mfd/mc13xxx-core.c
... ... @@ -803,6 +803,7 @@
803 803 /* sentinel */
804 804 }
805 805 };
  806 +MODULE_DEVICE_TABLE(spi, mc13xxx_device_id);
806 807  
807 808 static struct spi_driver mc13xxx_driver = {
808 809 .id_table = mc13xxx_device_id,