diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-03-04 09:40:44 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-03-04 09:40:44 +0000 |
commit | 0ad50b0bec02ae964b722eb865d79e80439e066c (patch) | |
tree | 6c20b702b14dd27f685f27b7e92ebe2e3f439fef /target/linux/ar71xx/patches-3.8/205-spi-ath79-add-shutdown-handler.patch | |
parent | c28cdfab314959cfaab46842c62ff86953135462 (diff) | |
download | mtk-20170518-0ad50b0bec02ae964b722eb865d79e80439e066c.zip mtk-20170518-0ad50b0bec02ae964b722eb865d79e80439e066c.tar.gz mtk-20170518-0ad50b0bec02ae964b722eb865d79e80439e066c.tar.bz2 |
ar71xx: use backported SPI patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35873
Diffstat (limited to 'target/linux/ar71xx/patches-3.8/205-spi-ath79-add-shutdown-handler.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.8/205-spi-ath79-add-shutdown-handler.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/target/linux/ar71xx/patches-3.8/205-spi-ath79-add-shutdown-handler.patch b/target/linux/ar71xx/patches-3.8/205-spi-ath79-add-shutdown-handler.patch deleted file mode 100644 index fc54923..0000000 --- a/target/linux/ar71xx/patches-3.8/205-spi-ath79-add-shutdown-handler.patch +++ /dev/null @@ -1,28 +0,0 @@ -From dab305def68a9ea28c1c0ca2fc20bba645944914 Mon Sep 17 00:00:00 2001 -From: Gabor Juhos <juhosg@openwrt.org> -Date: Wed, 11 Jan 2012 22:19:32 +0100 -Subject: [PATCH 33/34] spi/ath79: add shutdown handler - -Signed-off-by: Gabor Juhos <juhosg@openwrt.org> ---- - drivers/spi/spi-ath79.c | 12 +++++++++++- - 1 files changed, 11 insertions(+), 1 deletions(-) - ---- a/drivers/spi/spi-ath79.c -+++ b/drivers/spi/spi-ath79.c -@@ -308,9 +308,15 @@ static int ath79_spi_remove(struct platf - return 0; - } - -+static void ath79_spi_shutdown(struct platform_device *pdev) -+{ -+ ath79_spi_remove(pdev); -+} -+ - static struct platform_driver ath79_spi_driver = { - .probe = ath79_spi_probe, - .remove = ath79_spi_remove, -+ .shutdown = ath79_spi_shutdown, - .driver = { - .name = DRV_NAME, - .owner = THIS_MODULE, |