aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-3.18/607-MIPS-ath79-ubnt-xm-fixes.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-04-21 12:42:05 +0000
committerJohn Crispin <blogic@openwrt.org>2015-04-21 12:42:05 +0000
commit9ff605294a6074e2a4361854922fac3f8a1e166e (patch)
tree31922ab97f81f03ab09231a6594dce6bb37746fe /target/linux/ar71xx/patches-3.18/607-MIPS-ath79-ubnt-xm-fixes.patch
parentf43a75fe1a0489e90178d80b2c68e70a5750d9fe (diff)
downloadmaster-187ad058-9ff605294a6074e2a4361854922fac3f8a1e166e.tar.gz
master-187ad058-9ff605294a6074e2a4361854922fac3f8a1e166e.tar.bz2
master-187ad058-9ff605294a6074e2a4361854922fac3f8a1e166e.zip
ar71xx: spi cleanup for ap121, db120, ubnt-xm and ap136
Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45552 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/patches-3.18/607-MIPS-ath79-ubnt-xm-fixes.patch')
-rw-r--r--target/linux/ar71xx/patches-3.18/607-MIPS-ath79-ubnt-xm-fixes.patch10
1 files changed, 2 insertions, 8 deletions
diff --git a/target/linux/ar71xx/patches-3.18/607-MIPS-ath79-ubnt-xm-fixes.patch b/target/linux/ar71xx/patches-3.18/607-MIPS-ath79-ubnt-xm-fixes.patch
index cbbe20b49c..6170a0a868 100644
--- a/target/linux/ar71xx/patches-3.18/607-MIPS-ath79-ubnt-xm-fixes.patch
+++ b/target/linux/ar71xx/patches-3.18/607-MIPS-ath79-ubnt-xm-fixes.patch
@@ -37,22 +37,16 @@
static struct gpio_led ubnt_xm_leds_gpio[] __initdata = {
{
-@@ -65,54 +66,10 @@ static struct gpio_keys_button ubnt_xm_g
+@@ -65,48 +66,10 @@ static struct gpio_keys_button ubnt_xm_g
}
};
--static struct ath79_spi_controller_data ubnt_xm_spi0_data = {
-- .cs_type = ATH79_SPI_CS_TYPE_INTERNAL,
-- .cs_line = 0,
--};
--
-static struct spi_board_info ubnt_xm_spi_info[] = {
- {
- .bus_num = 0,
- .chip_select = 0,
- .max_speed_hz = 25000000,
- .modalias = "mx25l6405d",
-- .controller_data = &ubnt_xm_spi0_data,
- }
-};
-
@@ -94,7 +88,7 @@
ath79_register_leds_gpio(-1, ARRAY_SIZE(ubnt_xm_leds_gpio),
ubnt_xm_leds_gpio);
-@@ -120,10 +77,8 @@ static void __init ubnt_xm_init(void)
+@@ -114,10 +71,8 @@ static void __init ubnt_xm_init(void)
ARRAY_SIZE(ubnt_xm_gpio_keys),
ubnt_xm_gpio_keys);