Commit:     bb71f99f8daefb4a2c2441298bc127aaff9af947
Parent:     0ed8f210e68236f2034f827596f0a8201a907a9f
Author:     Russell King <[EMAIL PROTECTED]>
AuthorDate: Sun Mar 4 20:33:07 2007 +0000
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Sun Mar 4 20:33:07 2007 +0000

    [ARM] rtc-pcf8583: Final fixes for this RTC on RiscPC
    Replace the I2C bus address, as per drivers/acorn/char/pcf8583.c.
    Also, since this driver also contains Acorn RiscPC specific code
    for obtaining the current year from the SRAM (and updating the
    platform specific checksum when writing new data back) this is
    NOT a platform independent driver.
    Document it as such, and update the dependencies to reflect this
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
 drivers/rtc/Kconfig       |    8 +++++---
 drivers/rtc/rtc-pcf8583.c |    2 +-
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index deef296..95826b9 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -207,10 +207,12 @@ config RTC_DRV_PCF8563
 config RTC_DRV_PCF8583
        tristate "Philips PCF8583"
-       depends on RTC_CLASS && I2C
+       depends on RTC_CLASS && I2C && ARCH_RPC
-         If you say yes here you get support for the
-         Philips PCF8583 RTC chip.
+         If you say yes here you get support for the Philips PCF8583
+         RTC chip found on Acorn RiscPCs.  This driver supports the
+         platform specific method of retrieving the current year from
+         the RTC's SRAM.
          This driver can also be built as a module. If so, the module
          will be called rtc-pcf8583.
diff --git a/drivers/rtc/rtc-pcf8583.c b/drivers/rtc/rtc-pcf8583.c
index a33a2d6..d48b033 100644
--- a/drivers/rtc/rtc-pcf8583.c
+++ b/drivers/rtc/rtc-pcf8583.c
@@ -40,7 +40,7 @@ struct pcf8583 {
 #define CTRL_ALARM     0x02
 #define CTRL_TIMER     0x01
-static unsigned short normal_i2c[] = { I2C_CLIENT_END };
+static unsigned short normal_i2c[] = { 0x50, I2C_CLIENT_END };
 /* Module parameters */
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

Reply via email to