When built as module, it helps udev to probe them.
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
subsys_initcall(twl4030_init);
module_exit(twl4030_exit);
+MODULE_ALIAS("i2c:" DRIVER_NAME);
MODULE_AUTHOR("Texas Instruments, Inc.");
MODULE_DESCRIPTION("I2C Core interface for TWL4030");
MODULE_LICENSE("GPL");
module_init(gpio_twl4030_init);
module_exit(gpio_twl4030_exit);
+MODULE_ALIAS("i2c:twl4030-gpio");
MODULE_AUTHOR("Texas Instruments, Inc.");
MODULE_DESCRIPTION("GPIO interface for TWL4030");
MODULE_LICENSE("GPL");
module_init(twl4030_madc_init);
module_exit(twl4030_madc_exit);
+MODULE_ALIAS("i2c:twl4030-adc");
MODULE_AUTHOR("Nokia Corporation");
MODULE_DESCRIPTION("twl4030 ADC driver");
MODULE_LICENSE("GPL");
module_init(twl4030_poweroff_init);
module_exit(twl4030_poweroff_exit);
+MODULE_ALIAS("i2c:twl4030-poweroff");
MODULE_DESCRIPTION("Triton2 device power off");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Peter De Schrijver");
module_init(twl4030_pwrbutton_init);
module_exit(twl4030_pwrbutton_exit);
+MODULE_ALIAS("i2c:twl4030-pwrbutton");
MODULE_DESCRIPTION("Triton2 Power Button");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Peter De Schrijver");
}
}
+MODULE_ALIAS("i2c:twl4030-pwrirq");
subsys_initcall(twl4030_pwrirq_init);
module_exit(twl4030_pwrirq_exit);
subsys_initcall(twl4030_usb_init);
module_exit(twl4030_usb_exit);
+MODULE_ALIAS("i2c:twl4030-usb");
MODULE_AUTHOR("Texas Instruments, Inc.");
MODULE_DESCRIPTION("TWL4030 USB transceiver driver");
MODULE_LICENSE("GPL");
module_init(omap_kp_init);
module_exit(omap_kp_exit);
+MODULE_ALIAS("platform:omap_twl4030keypad");
MODULE_AUTHOR("Texas Instruments");
MODULE_DESCRIPTION("OMAP TWL4030 Keypad Driver");
MODULE_LICENSE("GPL");
platform_driver_unregister(&twl4030rtc_driver);
}
+MODULE_ALIAS("platform:twl4030_rtc");
MODULE_AUTHOR("Texas Instruments, MontaVista Software");
MODULE_LICENSE("GPL");;