summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.8/862-gpio_spi_driver.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/862-gpio_spi_driver.patch
parented7ca5d44ed2676c414aa8027787d1cd0989e4a1 (diff)
downloadmtk-20170518-721bf97863757c4add26fe93c7f5487de7ab136a.zip
mtk-20170518-721bf97863757c4add26fe93c7f5487de7ab136a.tar.gz
mtk-20170518-721bf97863757c4add26fe93c7f5487de7ab136a.tar.bz2
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/862-gpio_spi_driver.patch')
-rw-r--r--target/linux/generic/patches-3.8/862-gpio_spi_driver.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/patches-3.8/862-gpio_spi_driver.patch b/target/linux/generic/patches-3.8/862-gpio_spi_driver.patch
index 86ae86d..e68f808 100644
--- a/target/linux/generic/patches-3.8/862-gpio_spi_driver.patch
+++ b/target/linux/generic/patches-3.8/862-gpio_spi_driver.patch
@@ -286,7 +286,7 @@ Please use the new mainline SPI-GPIO driver, as of 2.6.29.
+ return err;
+}
+
-+static int __devexit spi_gpio_remove(struct platform_device *pdev)
++static int spi_gpio_remove(struct platform_device *pdev)
+{
+ struct spi_gpio *sp;
+ struct spi_gpio_platform_data *pdata;
@@ -310,7 +310,7 @@ Please use the new mainline SPI-GPIO driver, as of 2.6.29.
+ .owner = THIS_MODULE,
+ },
+ .probe = spi_gpio_probe,
-+ .remove = __devexit_p(spi_gpio_remove),
++ .remove = spi_gpio_remove,
+};
+
+int spi_gpio_next_id(void)