X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/0fc3447849ba0984e4892fe9cf0006852b65c12d..8d8ca107998df90aa1c246df3772c52fbf52b6ef:/target/linux/ixp4xx/patches-2.6.25/012-rtc_x1205_new_style.patch?ds=sidebyside diff --git a/target/linux/ixp4xx/patches-2.6.25/012-rtc_x1205_new_style.patch b/target/linux/ixp4xx/patches-2.6.25/012-rtc_x1205_new_style.patch index bccbccc69..0cc1c5120 100644 --- a/target/linux/ixp4xx/patches-2.6.25/012-rtc_x1205_new_style.patch +++ b/target/linux/ixp4xx/patches-2.6.25/012-rtc_x1205_new_style.patch @@ -2,10 +2,8 @@ drivers/rtc/rtc-x1205.c | 128 ++++++++++++++++-------------------------------- 1 file changed, 43 insertions(+), 85 deletions(-) -Index: linux-2.6.25.4/drivers/rtc/rtc-x1205.c -=================================================================== ---- linux-2.6.25.4.orig/drivers/rtc/rtc-x1205.c -+++ linux-2.6.25.4/drivers/rtc/rtc-x1205.c +--- a/drivers/rtc/rtc-x1205.c ++++ b/drivers/rtc/rtc-x1205.c @@ -22,20 +22,7 @@ #include #include @@ -28,7 +26,7 @@ Index: linux-2.6.25.4/drivers/rtc/rtc-x1205.c /* offsets into CCR area */ -@@ -91,19 +78,7 @@ I2C_CLIENT_INSMOD; +@@ -91,19 +78,7 @@ #define X1205_HR_MIL 0x80 /* Set in ccr.hour for 24 hr mode */ @@ -49,7 +47,7 @@ Index: linux-2.6.25.4/drivers/rtc/rtc-x1205.c /* * In the routines that deal directly with the x1205 hardware, we use -@@ -497,58 +472,51 @@ static ssize_t x1205_sysfs_show_dtrim(st +@@ -497,58 +472,51 @@ } static DEVICE_ATTR(dtrim, S_IRUGO, x1205_sysfs_show_dtrim, NULL); @@ -135,7 +133,7 @@ Index: linux-2.6.25.4/drivers/rtc/rtc-x1205.c i2c_set_clientdata(client, rtc); -@@ -565,45 +533,35 @@ static int x1205_probe(struct i2c_adapte +@@ -565,45 +533,35 @@ else dev_err(&client->dev, "couldn't read status\n");