summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-06-08 14:41:38 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-06-08 14:50:01 +0200
commit611b30f74b5d8ca036a9923b3bf6e0ee10a21a53 (patch)
tree75da131d873d19c2ee40dd6b05bf094d5afed2c1 /include/net
parent092b85853b161a5ca285c429faf1cf2ff4318a01 (diff)
downloadop-kernel-dev-611b30f74b5d8ca036a9923b3bf6e0ee10a21a53.zip
op-kernel-dev-611b30f74b5d8ca036a9923b3bf6e0ee10a21a53.tar.gz
Bluetooth: Add native RFKILL soft-switch support for all devices
With the re-write of the RFKILL subsystem it is now possible to easily integrate RFKILL soft-switch support into the Bluetooth subsystem. All Bluetooth devices will now get automatically RFKILL support. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/hci_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 73aead2..c4ca422 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -137,6 +137,8 @@ struct hci_dev {
struct device *parent;
struct device dev;
+ struct rfkill *rfkill;
+
struct module *owner;
int (*open)(struct hci_dev *hdev);
OpenPOWER on IntegriCloud