aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.8/841-rtc_pt7c4338.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-01-27 17:48:48 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-01-27 17:48:48 +0000
commit721bf97863757c4add26fe93c7f5487de7ab136a (patch)
treed444d9ddcfc351d973fe9e8e599e1862049027f3 /target/linux/generic/patches-3.8/841-rtc_pt7c4338.patch
parented7ca5d44ed2676c414aa8027787d1cd0989e4a1 (diff)
downloadupstream-721bf97863757c4add26fe93c7f5487de7ab136a.tar.gz
upstream-721bf97863757c4add26fe93c7f5487de7ab136a.tar.bz2
upstream-721bf97863757c4add26fe93c7f5487de7ab136a.zip
kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8
These attributes where removed with kernel 3.8 and are now causing compile errors. SVN-Revision: 35328
Diffstat (limited to 'target/linux/generic/patches-3.8/841-rtc_pt7c4338.patch')
-rw-r--r--target/linux/generic/patches-3.8/841-rtc_pt7c4338.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/patches-3.8/841-rtc_pt7c4338.patch b/target/linux/generic/patches-3.8/841-rtc_pt7c4338.patch
index 564e506017..7d763146fc 100644
--- a/target/linux/generic/patches-3.8/841-rtc_pt7c4338.patch
+++ b/target/linux/generic/patches-3.8/841-rtc_pt7c4338.patch
@@ -209,7 +209,7 @@
+ return ret;
+}
+
-+static int __devexit pt7c4338_remove(struct i2c_client *client)
++static int pt7c4338_remove(struct i2c_client *client)
+{
+ struct pt7c4338 *pt7c4338 = i2c_get_clientdata(client);
+
@@ -225,7 +225,7 @@
+ .owner = THIS_MODULE,
+ },
+ .probe = pt7c4338_probe,
-+ .remove = __devexit_p(pt7c4338_remove),
++ .remove = pt7c4338_remove,
+ .id_table = pt7c4338_id,
+};
+