i2c: Fix platform driver hotplug/coldplug
Since 43cc71eed1
, the platform
modalias is prefixed with "platform:". Add MODULE_ALIAS() to the
hotpluggable I2C platform drivers, to allow module auto loading.
[ db: add some more drivers ]
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
This commit is contained in:
@@ -697,6 +697,7 @@ static void __exit i2c_adap_pnx_exit(void)
|
||||
MODULE_AUTHOR("Vitaly Wool, Dennis Kovalev <source@mvista.com>");
|
||||
MODULE_DESCRIPTION("I2C driver for Philips IP3204-based I2C busses");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS("platform:pnx-i2c");
|
||||
|
||||
/* We need to make sure I2C is initialized before USB */
|
||||
subsys_initcall(i2c_adap_pnx_init);
|
||||
|
Reference in New Issue
Block a user