From f6d2f50c9b8a0db0d83655a81ae090b22474ad7e Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 12 Jan 2014 18:55:25 +0000 Subject: brcm47xx: add new led and button support Signed-off-by: Hauke Mehrtens git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39252 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...IPS-BCM47XX-Enable-buttons-support-on-SSB.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 target/linux/brcm47xx/patches-3.10/124-MIPS-BCM47XX-Enable-buttons-support-on-SSB.patch (limited to 'target/linux/brcm47xx/patches-3.10/124-MIPS-BCM47XX-Enable-buttons-support-on-SSB.patch') diff --git a/target/linux/brcm47xx/patches-3.10/124-MIPS-BCM47XX-Enable-buttons-support-on-SSB.patch b/target/linux/brcm47xx/patches-3.10/124-MIPS-BCM47XX-Enable-buttons-support-on-SSB.patch new file mode 100644 index 0000000000..7d599553c4 --- /dev/null +++ b/target/linux/brcm47xx/patches-3.10/124-MIPS-BCM47XX-Enable-buttons-support-on-SSB.patch @@ -0,0 +1,36 @@ +From 6dac092b12755ccbc00412871cd9535b687d16d7 Mon Sep 17 00:00:00 2001 +From: Rafa? Mi?ecki +Date: Fri, 3 Jan 2014 09:55:30 +0100 +Subject: [PATCH] MIPS: BCM47XX: Enable buttons support on SSB + +This is supported since implementing IRQ domain in ssb. + +Signed-off-by: Rafa? Mi?ecki +--- + arch/mips/bcm47xx/buttons.c | 8 -------- + 1 file changed, 8 deletions(-) + +--- a/arch/mips/bcm47xx/buttons.c ++++ b/arch/mips/bcm47xx/buttons.c +@@ -3,7 +3,6 @@ + #include + #include + #include +-#include + #include + #include + +@@ -371,13 +370,6 @@ int __init bcm47xx_buttons_register(void + enum bcm47xx_board board = bcm47xx_board_get(); + int err; + +-#ifdef CONFIG_BCM47XX_SSB +- if (bcm47xx_bus_type == BCM47XX_BUS_TYPE_SSB) { +- pr_debug("Buttons on SSB are not supported yet.\n"); +- return -ENOTSUPP; +- } +-#endif +- + switch (board) { + case BCM47XX_BOARD_ASUS_RTN12: + err = bcm47xx_copy_bdata(bcm47xx_buttons_asus_rtn12); -- cgit v1.2.3