diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2014-01-12 18:55:25 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2014-01-12 18:55:25 +0000 |
commit | c2992ee273b4dac36df2a2b4a9d3a74d315f8f2e (patch) | |
tree | 64f14a7a43380f8fcc0403501b5fca11ab195147 /target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch | |
parent | 30cf6f5815b898f956ae95a88f28d327677a3f62 (diff) | |
download | master-31e0f0ae-c2992ee273b4dac36df2a2b4a9d3a74d315f8f2e.tar.gz master-31e0f0ae-c2992ee273b4dac36df2a2b4a9d3a74d315f8f2e.tar.bz2 master-31e0f0ae-c2992ee273b4dac36df2a2b4a9d3a74d315f8f2e.zip |
brcm47xx: add new led and button support
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 39252
Diffstat (limited to 'target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch b/target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch index 6534af97e6..92a565f65e 100644 --- a/target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch +++ b/target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm47xx/setup.c +++ b/arch/mips/bcm47xx/setup.c -@@ -34,6 +34,7 @@ +@@ -36,6 +36,7 @@ #include <linux/ssb/ssb.h> #include <linux/ssb/ssb_embedded.h> #include <linux/bcma/bcma_soc.h> @@ -8,7 +8,7 @@ #include <asm/bootinfo.h> #include <asm/prom.h> #include <asm/reboot.h> -@@ -264,6 +265,33 @@ static struct fixed_phy_status bcm47xx_f +@@ -266,6 +267,33 @@ static struct fixed_phy_status bcm47xx_f .duplex = DUPLEX_FULL, }; @@ -42,15 +42,14 @@ static int __init bcm47xx_register_bus_complete(void) { switch (bcm47xx_bus_type) { -@@ -279,6 +307,8 @@ static int __init bcm47xx_register_bus_c - #endif - } +@@ -284,6 +312,7 @@ static int __init bcm47xx_register_bus_c + bcm47xx_buttons_register(); + bcm47xx_leds_register(); fixed_phy_add(PHY_POLL, 0, &bcm47xx_fixed_phy_status); + bcm47xx_register_gpio_watchdog(); -+ + return 0; } - device_initcall(bcm47xx_register_bus_complete); --- a/arch/mips/configs/bcm47xx_defconfig +++ b/arch/mips/configs/bcm47xx_defconfig @@ -379,6 +379,7 @@ CONFIG_THERMAL=y |