Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=afe1ab4d577892822de2c8e803fbfaed6ec44ba3
Commit:     afe1ab4d577892822de2c8e803fbfaed6ec44ba3
Parent:     c661b078fd62abe06fd11fab4ac5e4eeafe26b6d
Author:     David Brownell <[EMAIL PROTECTED]>
AuthorDate: Wed Aug 22 14:01:27 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Aug 22 19:52:45 2007 -0700

    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 <[EMAIL PROTECTED]>
    Acked-by: Atsushi Nemoto <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/rtc/rtc-m41t80.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/rtc/rtc-m41t80.c b/drivers/rtc/rtc-m41t80.c
index 80c4a84..1cb33ca 100644
--- a/drivers/rtc/rtc-m41t80.c
+++ b/drivers/rtc/rtc-m41t80.c
@@ -892,7 +892,7 @@ static int m41t80_remove(struct i2c_client *client)
 
 static struct i2c_driver m41t80_driver = {
        .driver = {
-               .name = "m41t80",
+               .name = "rtc-m41t80",
        },
        .probe = m41t80_probe,
        .remove = m41t80_remove,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to