Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: Add MODULE_DEVICE_TABLE to pcf50633-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 i2c:pcf50633 pcf50633

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Harald Welte <laforge@gnumonks.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

authored by

Axel Lin and committed by
Samuel Ortiz
7679089d 6991ec25

+1
+1
drivers/mfd/pcf50633-core.c
··· 360 360 {"pcf50633", 0x73}, 361 361 {/* end of list */} 362 362 }; 363 + MODULE_DEVICE_TABLE(i2c, pcf50633_id_table); 363 364 364 365 static struct i2c_driver pcf50633_driver = { 365 366 .driver = {