From: Frederic Danis <frederic.danis@linux.intel.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH 2/3] net: rfkill: gpio: Make BCM2E39 support optional
Date: Fri, 3 Jul 2015 15:22:30 +0200 [thread overview]
Message-ID: <1435929751-26831-2-git-send-email-frederic.danis@linux.intel.com> (raw)
In-Reply-To: <1435929751-26831-1-git-send-email-frederic.danis@linux.intel.com>
In case of kernel configured to build Bluetooth BCM UART driver, do not
support BCM2E39 in rfkill-gpio.
Signed-off-by: Frederic Danis <frederic.danis@linux.intel.com>
---
net/rfkill/rfkill-gpio.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c
index d978f2f..b573cbb 100644
--- a/net/rfkill/rfkill-gpio.c
+++ b/net/rfkill/rfkill-gpio.c
@@ -168,7 +168,9 @@ static int rfkill_gpio_remove(struct platform_device *pdev)
#ifdef CONFIG_ACPI
static const struct acpi_device_id rfkill_acpi_match[] = {
{ "BCM2E1A", RFKILL_TYPE_BLUETOOTH },
+#ifndef CONFIG_BT_HCIUART_BCM
{ "BCM2E39", RFKILL_TYPE_BLUETOOTH },
+#endif
{ "BCM2E3D", RFKILL_TYPE_BLUETOOTH },
{ "BCM2E40", RFKILL_TYPE_BLUETOOTH },
{ "BCM2E64", RFKILL_TYPE_BLUETOOTH },
--
1.9.1
next prev parent reply other threads:[~2015-07-03 13:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-03 13:22 [PATCH 1/3] Bluetooth: hci_uart: Add PM for BCM2E39 Frederic Danis
2015-07-03 13:22 ` Frederic Danis [this message]
2015-07-03 13:22 ` [PATCH 3/3] Bluetooth: hci_uart: Retrieve UART speed from ACPI Frederic Danis
2015-07-16 16:10 ` [PATCH 1/3] Bluetooth: hci_uart: Add PM for BCM2E39 Frederic Danis
2015-07-16 18:54 ` Ilya Faenson
2015-07-17 13:11 ` Loic Poulain
2015-07-17 18:33 ` Ilya Faenson
2015-07-23 15:03 ` Frederic Danis
2015-07-23 17:49 ` Ilya Faenson
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=1435929751-26831-2-git-send-email-frederic.danis@linux.intel.com \
--to=frederic.danis@linux.intel.com \
--cc=linux-bluetooth@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.