summaryrefslogtreecommitdiffstats
path: root/drivers/uwb/uwb-internal.h
diff options
context:
space:
mode:
authorThomas Pugliese2014-09-16 22:53:08 +0200
committerGreg Kroah-Hartman2014-09-24 07:04:44 +0200
commit848879340a7d220fd9801396eba82ecac2f2a739 (patch)
treee61a90d95d576c10e55b0296d7be17ef79a64acf /drivers/uwb/uwb-internal.h
parentuwb: remove UWB build dependency on PCI (diff)
downloadkernel-qcow2-linux-848879340a7d220fd9801396eba82ecac2f2a739.tar.gz
kernel-qcow2-linux-848879340a7d220fd9801396eba82ecac2f2a739.tar.xz
kernel-qcow2-linux-848879340a7d220fd9801396eba82ecac2f2a739.zip
uwb: create a uwb bus type and add in-range peer devices to it
Documentation/usb/WUSB-Design-overview.txt states that UWB devices seen by a UWB radio controller are added to /sys/bus/uwb/devices, but this was not actually being done. This functionality is needed in order for UWB peer devices to be enumerated by user mode tools. This patch creates a uwb bus type and adds UWB peer devices to it as they are discovered by the radio controller. Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uwb/uwb-internal.h')
-rw-r--r--drivers/uwb/uwb-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/uwb/uwb-internal.h b/drivers/uwb/uwb-internal.h
index 6d1bed1f3460..353c0555a1f5 100644
--- a/drivers/uwb/uwb-internal.h
+++ b/drivers/uwb/uwb-internal.h
@@ -314,6 +314,7 @@ int uwb_radio_force_channel(struct uwb_rc *rc, int channel);
/* -- UWB Sysfs representation */
extern struct class uwb_rc_class;
+extern struct bus_type uwb_bus_type;
extern struct device_attribute dev_attr_mac_address;
extern struct device_attribute dev_attr_beacon;
extern struct device_attribute dev_attr_scan;