MIPS: BCM47XX: Enable buttons support on SSB
authorRafał Miłecki <zajec5@gmail.com>
Fri, 3 Jan 2014 08:55:30 +0000 (09:55 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 24 Jan 2014 21:39:53 +0000 (22:39 +0100)
This is supported since implementing IRQ domain in ssb.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6315/

arch/mips/bcm47xx/buttons.c

index 51815bae3633f9e0e76ad37ddc5835f7204624db..872c62e93e0e4c07f05c1e3b23dad6ef4efe90d9 100644 (file)
@@ -3,7 +3,6 @@
 #include <linux/input.h>
 #include <linux/gpio_keys.h>
 #include <linux/interrupt.h>
-#include <linux/ssb/ssb_embedded.h>
 #include <bcm47xx_board.h>
 #include <bcm47xx.h>
 
@@ -359,13 +358,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);