aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/pwm
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2013-01-27 17:48:48 +0000
committerHauke Mehrtens <hauke@openwrt.org>2013-01-27 17:48:48 +0000
commit16d7ea5f384ae0d5c16afdfbc3ddd4a580332a24 (patch)
treeae7fa0b910db3b6d227aa0cf2a254a59fd40d8d6 /target/linux/generic/files/drivers/pwm
parenta35962e3b7010e520a862ac6bc806db223ed1d7f (diff)
downloadmaster-187ad058-16d7ea5f384ae0d5c16afdfbc3ddd4a580332a24.tar.gz
master-187ad058-16d7ea5f384ae0d5c16afdfbc3ddd4a580332a24.tar.bz2
master-187ad058-16d7ea5f384ae0d5c16afdfbc3ddd4a580332a24.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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35328 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/drivers/pwm')
-rw-r--r--target/linux/generic/files/drivers/pwm/gpio-pwm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/files/drivers/pwm/gpio-pwm.c b/target/linux/generic/files/drivers/pwm/gpio-pwm.c
index dff5d1d627..58e518fe7d 100644
--- a/target/linux/generic/files/drivers/pwm/gpio-pwm.c
+++ b/target/linux/generic/files/drivers/pwm/gpio-pwm.c
@@ -205,7 +205,7 @@ gpio_pwm_request(struct pwm_channel *p)
return 0;
}
-static int __devinit
+static int
gpio_pwm_probe(struct platform_device *pdev)
{
struct gpio_pwm *gp;
@@ -256,7 +256,7 @@ err_alloc:
return ret;
}
-static int __devexit
+static int
gpio_pwm_remove(struct platform_device *pdev)
{
struct gpio_pwm *gp = platform_get_drvdata(pdev);
@@ -277,7 +277,7 @@ static struct platform_driver gpio_pwm_driver = {
.owner = THIS_MODULE,
},
.probe = gpio_pwm_probe,
- .remove = __devexit_p(gpio_pwm_remove),
+ .remove = gpio_pwm_remove,
};
static int __init gpio_pwm_init(void)