diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-04-17 18:32:21 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-04-17 18:32:21 +0000 |
commit | 5a0df036b0c176df9f61fe45c625951c779c59c2 (patch) | |
tree | ea61ce65d37cefa8c76025d53028842fcef84e28 /target/linux/generic/patches-2.6.35/920-01-hotpluggable-spi-gpio.patch | |
parent | a621c3c24a8050f305262903e78a26261a49e3d0 (diff) | |
download | upstream-5a0df036b0c176df9f61fe45c625951c779c59c2.tar.gz upstream-5a0df036b0c176df9f61fe45c625951c779c59c2.tar.bz2 upstream-5a0df036b0c176df9f61fe45c625951c779c59c2.zip |
Remove 2.6.35. It's not used anymore.
Signed-off-by: Jochen Friedrich <jochen@scram.de>
SVN-Revision: 26704
Diffstat (limited to 'target/linux/generic/patches-2.6.35/920-01-hotpluggable-spi-gpio.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.35/920-01-hotpluggable-spi-gpio.patch | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/target/linux/generic/patches-2.6.35/920-01-hotpluggable-spi-gpio.patch b/target/linux/generic/patches-2.6.35/920-01-hotpluggable-spi-gpio.patch deleted file mode 100644 index 97d4857e12..0000000000 --- a/target/linux/generic/patches-2.6.35/920-01-hotpluggable-spi-gpio.patch +++ /dev/null @@ -1,60 +0,0 @@ -Fix spi-gpio for hotplug. - ---mb - - - ---- a/drivers/spi/spi_gpio.c -+++ b/drivers/spi/spi_gpio.c -@@ -217,7 +217,7 @@ static void spi_gpio_cleanup(struct spi_ - spi_bitbang_cleanup(spi); - } - --static int __init spi_gpio_alloc(unsigned pin, const char *label, bool is_in) -+static int __devinit spi_gpio_alloc(unsigned pin, const char *label, bool is_in) - { - int value; - -@@ -231,7 +231,7 @@ static int __init spi_gpio_alloc(unsigne - return value; - } - --static int __init -+static int __devinit - spi_gpio_request(struct spi_gpio_platform_data *pdata, const char *label) - { - int value; -@@ -260,7 +260,7 @@ done: - return value; - } - --static int __init spi_gpio_probe(struct platform_device *pdev) -+static int __devinit spi_gpio_probe(struct platform_device *pdev) - { - int status; - struct spi_master *master; -@@ -316,7 +316,7 @@ gpio_free: - return status; - } - --static int __exit spi_gpio_remove(struct platform_device *pdev) -+static int __devexit spi_gpio_remove(struct platform_device *pdev) - { - struct spi_gpio *spi_gpio; - struct spi_gpio_platform_data *pdata; -@@ -343,12 +343,13 @@ MODULE_ALIAS("platform:" DRIVER_NAME); - static struct platform_driver spi_gpio_driver = { - .driver.name = DRIVER_NAME, - .driver.owner = THIS_MODULE, -- .remove = __exit_p(spi_gpio_remove), -+ .probe = spi_gpio_probe, -+ .remove = __devexit_p(spi_gpio_remove), - }; - - static int __init spi_gpio_init(void) - { -- return platform_driver_probe(&spi_gpio_driver, spi_gpio_probe); -+ return platform_driver_register(&spi_gpio_driver); - } - module_init(spi_gpio_init); - |