X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Fpatches-3.18%2F607-MIPS-ath79-ubnt-xm-fixes.patch;h=6170a0a8683495f03f9696fd345526c6a802d5d2;hb=8a777768a8fa405be605b41104cb4f2abad1829d;hp=cbbe20b49cd6e70e057fada3121bd5711055d70e;hpb=1200296d38ac828c0d4c04928e85b24542c2307d;p=oweals%2Fopenwrt.git 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);