linux-mips
[Top] [All Lists]

[PATCH 2/2] MIPS: BCM47XX: Enable buttons support on SSB

To: linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH 2/2] MIPS: BCM47XX: Enable buttons support on SSB
From: Rafał Miłecki <zajec5@gmail.com>
Date: Fri, 3 Jan 2014 09:55:30 +0100
Cc: Hauke Mehrtens <hauke@hauke-m.de>, Rafał Miłecki <zajec5@gmail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=FgDZX0n2eNGKRWpmLZwneHQ8UeZqvOhBj/5swbjEbTg=; b=Num+Za21jhKCfbleDA6m8p33+c557xjQZcHA+iOSQfqIRRz7Fsy3zT9F4ZvWgmg7V1 uJkfVbmMYD/0RMYZ/45XS41DhzpTA2Ns8ZUwpxLq7ONxY8PnvJqlo8Y21+V/Yq75av2h gUFndq5Izl75mfDI6znBFbp3ZpAbQKkDnKxmQkR18z788ptd3AFziZHGE4teh2AJwavR CUNAY+mnIcs0fu0Zu7mB0wQGhXA/whUWp+OwYdMHGPTZpl2y5hXR6m76CNQ4K+X4HYp1 sv/bDqa03pywrG9ULNOCKefLWWZz+wM2XxUVKezAJBurTfKoN5kiBME7aTZwmj/H9Qpq S+Iw==
In-reply-to: <1388739330-420-1-git-send-email-zajec5@gmail.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1388739330-420-1-git-send-email-zajec5@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
This is supported since implementing IRQ domain in ssb.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
---
 arch/mips/bcm47xx/buttons.c |    8 --------
 1 file changed, 8 deletions(-)

diff --git a/arch/mips/bcm47xx/buttons.c b/arch/mips/bcm47xx/buttons.c
index 51815ba..872c62e 100644
--- a/arch/mips/bcm47xx/buttons.c
+++ b/arch/mips/bcm47xx/buttons.c
@@ -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);
-- 
1.7.10.4


<Prev in Thread] Current Thread [Next in Thread>