Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: "Rafał Miłecki" <zajec5@gmail.com>
To: linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>
Cc: "Hauke Mehrtens" <hauke@hauke-m.de>, "Rafał Miłecki" <zajec5@gmail.com>
Subject: [PATCH 2/2] MIPS: BCM47XX: Enable buttons support on SSB
Date: Fri,  3 Jan 2014 09:55:30 +0100	[thread overview]
Message-ID: <1388739330-420-2-git-send-email-zajec5@gmail.com> (raw)
In-Reply-To: <1388739330-420-1-git-send-email-zajec5@gmail.com>

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

  reply	other threads:[~2014-01-03  8:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-03  8:55 [PATCH 1/2] ssb: gpio: add own IRQ domain Rafał Miłecki
2014-01-03  8:55 ` Rafał Miłecki [this message]
2014-01-13 18:56 ` [PATCH V2 " Rafał Miłecki
2014-01-13 19:30   ` Michael Büsch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1388739330-420-2-git-send-email-zajec5@gmail.com \
    --to=zajec5@gmail.com \
    --cc=hauke@hauke-m.de \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox