aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.8/840-rtc7301.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/840-rtc7301.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/840-rtc7301.patch')
-rw-r--r--target/linux/generic/patches-3.8/840-rtc7301.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/patches-3.8/840-rtc7301.patch b/target/linux/generic/patches-3.8/840-rtc7301.patch
index 89b5d46fc9..ad837eb971 100644
--- a/target/linux/generic/patches-3.8/840-rtc7301.patch
+++ b/target/linux/generic/patches-3.8/840-rtc7301.patch
@@ -185,7 +185,7 @@
+ .set_time = rtc7301_set_datetime,
+};
+
-+static int __devinit rtc7301_probe(struct platform_device *pdev)
++static int rtc7301_probe(struct platform_device *pdev)
+{
+ struct rtc_device *rtc;
+ struct resource *res;
@@ -211,7 +211,7 @@
+ return 0;
+}
+
-+static int __devexit rtc7301_remove(struct platform_device *pdev)
++static int rtc7301_remove(struct platform_device *pdev)
+{
+ struct rtc_device *rtc = platform_get_drvdata(pdev);
+
@@ -228,7 +228,7 @@
+ .owner = THIS_MODULE,
+ },
+ .probe = rtc7301_probe,
-+ .remove = __devexit_p(rtc7301_remove),
++ .remove = rtc7301_remove,
+};
+
+static __init int rtc7301_init(void)