From 30d336cfc5e67d66ed19a84223a9215f42c30135 Mon Sep 17 00:00:00 2001 From: kaloz Date: Fri, 30 May 2008 16:32:35 +0000 Subject: refresh ixp4xx patches to match upstream style git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11297 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../ixp4xx/patches-2.6.25/012-rtc_x1205_new_style.patch | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'target/linux/ixp4xx/patches-2.6.25/012-rtc_x1205_new_style.patch') 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"); -- cgit v1.2.3