summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/input/misc
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-27 17:48:48 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-27 17:48:48 +0000
commit91ba1524d4179b776ff3ae90c22a37eb26827833 (patch)
treeae7fa0b910db3b6d227aa0cf2a254a59fd40d8d6 /target/linux/generic/files/drivers/input/misc
parent54d47826560af1347881eb46a6fa1152e937d1b8 (diff)
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/input/misc')
-rw-r--r--target/linux/generic/files/drivers/input/misc/gpio_buttons.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/files/drivers/input/misc/gpio_buttons.c b/target/linux/generic/files/drivers/input/misc/gpio_buttons.c
index 51288a3f9..af5491434 100644
--- a/target/linux/generic/files/drivers/input/misc/gpio_buttons.c
+++ b/target/linux/generic/files/drivers/input/misc/gpio_buttons.c
@@ -82,7 +82,7 @@ static void gpio_buttons_poll(struct input_polled_dev *dev)
}
}
-static int __devinit gpio_buttons_probe(struct platform_device *pdev)
+static int gpio_buttons_probe(struct platform_device *pdev)
{
struct gpio_buttons_platform_data *pdata = pdev->dev.platform_data;
struct device *dev = &pdev->dev;
@@ -186,7 +186,7 @@ err_free_bdev:
return error;
}
-static int __devexit gpio_buttons_remove(struct platform_device *pdev)
+static int gpio_buttons_remove(struct platform_device *pdev)
{
struct gpio_buttons_dev *bdev = platform_get_drvdata(pdev);
struct gpio_buttons_platform_data *pdata = bdev->pdata;
@@ -207,7 +207,7 @@ static int __devexit gpio_buttons_remove(struct platform_device *pdev)
static struct platform_driver gpio_buttons_driver = {
.probe = gpio_buttons_probe,
- .remove = __devexit_p(gpio_buttons_remove),
+ .remove = gpio_buttons_remove,
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,