refresh generic 2.6.25 patches
[openwrt/openwrt.git] / target / linux / generic-2.6 / patches-2.6.25 / 403-ds1672_detect.patch
1 Index: linux-2.6.25.4/drivers/rtc/rtc-ds1672.c
2 ===================================================================
3 --- linux-2.6.25.4.orig/drivers/rtc/rtc-ds1672.c
4 +++ linux-2.6.25.4/drivers/rtc/rtc-ds1672.c
5 @@ -13,10 +13,10 @@
6 #include <linux/i2c.h>
7 #include <linux/rtc.h>
8
9 -#define DRV_VERSION "0.3"
10 +#define DRV_VERSION "0.4"
11
12 -/* Addresses to scan: none. This chip cannot be detected. */
13 -static const unsigned short normal_i2c[] = { I2C_CLIENT_END };
14 +/* Addresses to scan: 0x68 */
15 +static const unsigned short normal_i2c[] = { 0x68, I2C_CLIENT_END };
16
17 /* Insmod parameters */
18 I2C_CLIENT_INSMOD;