X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/60289aade7304b10112a6839dcf293e719f057eb..095085228384edbd706366fbbe61c07a75532483:/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 cea2e6359..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.1/drivers/rtc/rtc-x1205.c -=================================================================== ---- linux-2.6.25.1.orig/drivers/rtc/rtc-x1205.c -+++ linux-2.6.25.1/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.1/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.1/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.1/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");