From 91ba1524d4179b776ff3ae90c22a37eb26827833 Mon Sep 17 00:00:00 2001 From: hauke Date: Sun, 27 Jan 2013 17:48:48 +0000 Subject: 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35328 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/generic/patches-3.8/840-rtc7301.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'target/linux/generic/patches-3.8/840-rtc7301.patch') diff --git a/target/linux/generic/patches-3.8/840-rtc7301.patch b/target/linux/generic/patches-3.8/840-rtc7301.patch index 89b5d46fc..ad837eb97 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) -- cgit v1.2.3