diff options
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/Kconfig | 8 | ||||
-rw-r--r-- | drivers/rtc/rtc-pcf8583.c | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index deef29646e0e..95826b92ca4b 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig | |||
@@ -207,10 +207,12 @@ config RTC_DRV_PCF8563 | |||
207 | 207 | ||
208 | config RTC_DRV_PCF8583 | 208 | config RTC_DRV_PCF8583 |
209 | tristate "Philips PCF8583" | 209 | tristate "Philips PCF8583" |
210 | depends on RTC_CLASS && I2C | 210 | depends on RTC_CLASS && I2C && ARCH_RPC |
211 | help | 211 | help |
212 | If you say yes here you get support for the | 212 | If you say yes here you get support for the Philips PCF8583 |
213 | Philips PCF8583 RTC chip. | 213 | RTC chip found on Acorn RiscPCs. This driver supports the |
214 | platform specific method of retrieving the current year from | ||
215 | the RTC's SRAM. | ||
214 | 216 | ||
215 | This driver can also be built as a module. If so, the module | 217 | This driver can also be built as a module. If so, the module |
216 | will be called rtc-pcf8583. | 218 | will be called rtc-pcf8583. |
diff --git a/drivers/rtc/rtc-pcf8583.c b/drivers/rtc/rtc-pcf8583.c index a33a2d69859c..d48b03374586 100644 --- a/drivers/rtc/rtc-pcf8583.c +++ b/drivers/rtc/rtc-pcf8583.c | |||
@@ -40,7 +40,7 @@ struct pcf8583 { | |||
40 | #define CTRL_ALARM 0x02 | 40 | #define CTRL_ALARM 0x02 |
41 | #define CTRL_TIMER 0x01 | 41 | #define CTRL_TIMER 0x01 |
42 | 42 | ||
43 | static unsigned short normal_i2c[] = { I2C_CLIENT_END }; | 43 | static unsigned short normal_i2c[] = { 0x50, I2C_CLIENT_END }; |
44 | 44 | ||
45 | /* Module parameters */ | 45 | /* Module parameters */ |
46 | I2C_CLIENT_INSMOD; | 46 | I2C_CLIENT_INSMOD; |