Commit 4d6dc7fd authored by Rafał Miłecki's avatar Rafał Miłecki Committed by Ralf Baechle

MIPS: BCM47XX: Enable buttons support on SSB

This is supported since implementing IRQ domain in ssb.
Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6315/
parent e7277e1d
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
#include <linux/input.h> #include <linux/input.h>
#include <linux/gpio_keys.h> #include <linux/gpio_keys.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/ssb/ssb_embedded.h>
#include <bcm47xx_board.h> #include <bcm47xx_board.h>
#include <bcm47xx.h> #include <bcm47xx.h>
...@@ -359,13 +358,6 @@ int __init bcm47xx_buttons_register(void) ...@@ -359,13 +358,6 @@ int __init bcm47xx_buttons_register(void)
enum bcm47xx_board board = bcm47xx_board_get(); enum bcm47xx_board board = bcm47xx_board_get();
int err; 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) { switch (board) {
case BCM47XX_BOARD_ASUS_RTN12: case BCM47XX_BOARD_ASUS_RTN12:
err = bcm47xx_copy_bdata(bcm47xx_buttons_asus_rtn12); err = bcm47xx_copy_bdata(bcm47xx_buttons_asus_rtn12);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment