Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9f90a03a7f93be7f247aa902a7d962a56a6f600e
Commit:     9f90a03a7f93be7f247aa902a7d962a56a6f600e
Parent:     c99dcac435cec7aca313638db2f1bc406f29210b
Author:     Atsushi Nemoto <[EMAIL PROTECTED]>
AuthorDate: Sun Aug 19 22:32:10 2007 +0900
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Mon Aug 27 02:16:58 2007 +0100

    [PATCH] rtc: Make rtc-rs5c348 driver hotplug-aware
    
    The rtc-rs5c348 SPI driver name doesn't match its module name, which
    prevents it from properly hotplugging.  There is only one in-tree user
    of its driver, which is fixed by this patch too.
    
    Signed-off-by: Atsushi Nemoto <[EMAIL PROTECTED]>
    Acked-by: David Brownell <[EMAIL PROTECTED]>
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 arch/mips/tx4938/toshiba_rbtx4938/setup.c |    2 +-
 drivers/rtc/rtc-rs5c348.c                 |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/tx4938/toshiba_rbtx4938/setup.c 
b/arch/mips/tx4938/toshiba_rbtx4938/setup.c
index 57f3c70..84ebff7 100644
--- a/arch/mips/tx4938/toshiba_rbtx4938/setup.c
+++ b/arch/mips/tx4938/toshiba_rbtx4938/setup.c
@@ -1115,7 +1115,7 @@ static void __init txx9_spi_init(unsigned long base, int 
irq)
 static int __init rbtx4938_spi_init(void)
 {
        struct spi_board_info srtc_info = {
-               .modalias = "rs5c348",
+               .modalias = "rtc-rs5c348",
                .max_speed_hz = 1000000, /* 1.0Mbps @ Vdd 2.0V */
                .bus_num = 0,
                .chip_select = 16 + SRTC_CS,
diff --git a/drivers/rtc/rtc-rs5c348.c b/drivers/rtc/rtc-rs5c348.c
index f50f3fc..8394626 100644
--- a/drivers/rtc/rtc-rs5c348.c
+++ b/drivers/rtc/rtc-rs5c348.c
@@ -226,7 +226,7 @@ static int __devexit rs5c348_remove(struct spi_device *spi)
 
 static struct spi_driver rs5c348_driver = {
        .driver = {
-               .name   = "rs5c348",
+               .name   = "rtc-rs5c348",
                .bus    = &spi_bus_type,
                .owner  = THIS_MODULE,
        },
-
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