]> git.baikalelectronics.ru Git - kernel.git/commit
correct name for rtc-m41t80
authorDavid Brownell <david-b@pacbell.net>
Wed, 22 Aug 2007 21:01:27 +0000 (14:01 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 23 Aug 2007 02:52:45 +0000 (19:52 -0700)
commit0e8622ebc66791adeebf25fafc283bb0d9e4ef30
tree42ac29befcf9afe39bb2977a600560af86c3e51f
parent4ad510b7efc4fa7085959a8cffc3fb8111011210
correct name for rtc-m41t80

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 <dbrownell@users.sourceforge.net>
Acked-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-m41t80.c