From: David Brownell The new rtc-m41t80 driver name doesn't match its module name, which prevents it from properly hotplugging. Since it's new, no platforms yet depend on that name ... so this patch fixes the driver name to match its module name, rather than going the other way around with a MODULE_ALIAS(). NOTE: This sort of bug is a new thing to watch out for with new-style I2C drivers; previously I2C couldn't hotplug. Signed-off-by: David Brownell Cc: Atsushi Nemoto Signed-off-by: Andrew Morton --- drivers/rtc/rtc-m41t80.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/rtc/rtc-m41t80.c~correct-name-for-rtc-m41t80 drivers/rtc/rtc-m41t80.c --- a/drivers/rtc/rtc-m41t80.c~correct-name-for-rtc-m41t80 +++ a/drivers/rtc/rtc-m41t80.c @@ -892,7 +892,7 @@ static int m41t80_remove(struct i2c_clie static struct i2c_driver m41t80_driver = { .driver = { - .name = "m41t80", + .name = "rtc-m41t80", }, .probe = m41t80_probe, .remove = m41t80_remove, _