summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/patches-3.18/603-MIPS-ath79-ap121-fixes.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2015-05-21 19:32:46 +0000
committerJonas Gorski <jogo@openwrt.org>2015-05-21 19:32:46 +0000
commit76d079204df113afa9e382a43abb5e1a2135150d (patch)
tree8e472ab203e8d6a47dc2e285b3becbfca35d04c6 /target/linux/ar71xx/patches-3.18/603-MIPS-ath79-ap121-fixes.patch
parent072937888e133f5e97fd05a7496eaf7eeae04079 (diff)
downloadmtk-20170518-76d079204df113afa9e382a43abb5e1a2135150d.zip
mtk-20170518-76d079204df113afa9e382a43abb5e1a2135150d.tar.gz
mtk-20170518-76d079204df113afa9e382a43abb5e1a2135150d.tar.bz2
kernel: update 3.18 to 3.18.14
Changelogs: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14 Build tested on brcm63xx and ipq806x, runtested on brcm63xx. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45711
Diffstat (limited to 'target/linux/ar71xx/patches-3.18/603-MIPS-ath79-ap121-fixes.patch')
-rw-r--r--target/linux/ar71xx/patches-3.18/603-MIPS-ath79-ap121-fixes.patch24
1 files changed, 10 insertions, 14 deletions
diff --git a/target/linux/ar71xx/patches-3.18/603-MIPS-ath79-ap121-fixes.patch b/target/linux/ar71xx/patches-3.18/603-MIPS-ath79-ap121-fixes.patch
index 36139b0..706e5af 100644
--- a/target/linux/ar71xx/patches-3.18/603-MIPS-ath79-ap121-fixes.patch
+++ b/target/linux/ar71xx/patches-3.18/603-MIPS-ath79-ap121-fixes.patch
@@ -45,26 +45,22 @@
};
-static struct spi_board_info ap121_spi_info[] = {
-- {
++static struct gpio_led ap121_mini_leds_gpio[] __initdata = {
+ {
- .bus_num = 0,
- .chip_select = 0,
- .max_speed_hz = 25000000,
- .modalias = "mx25l1606e",
- }
--};
--
--static struct ath79_spi_platform_data ap121_spi_data = {
-- .bus_num = 0,
-- .num_chipselect = 1,
--};
-+static struct gpio_led ap121_mini_leds_gpio[] __initdata = {
-+ {
+ .name = "ap121:green:wlan",
+ .gpio = AP121_MINI_GPIO_LED_WLAN,
+ .active_low = 0,
+ },
-+};
-+
+ };
+
+-static struct ath79_spi_platform_data ap121_spi_data = {
+- .bus_num = 0,
+- .num_chipselect = 1,
+static struct gpio_keys_button ap121_mini_gpio_keys[] __initdata = {
+ {
+ .desc = "jumpstart button",
@@ -82,8 +78,8 @@
+ .gpio = AP121_MINI_GPIO_BTN_RESET,
+ .active_low = 1,
+ }
-+};
-+
+ };
+
+static void __init ap121_common_setup(void)
+{
+ u8 *art = (u8 *) KSEG1ADDR(0x1fff0000);
@@ -103,7 +99,7 @@
+ /* WAN port */
+ ath79_register_eth(0);
+}
-
++
static void __init ap121_setup(void)
{
- u8 *cal_data = (u8 *) KSEG1ADDR(AP121_CAL_DATA_ADDR);