summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btusb.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2017-01-02 14:09:56 +0100
committerMarcel Holtmann <marcel@holtmann.org>2017-02-16 17:18:27 +0100
commit747d3f1a8a2fc4d8447c63205421a6a67f22799b (patch)
tree343250f0415e94e2f081af2947a2094e9fc68f24 /drivers/bluetooth/btusb.c
parentBluetooth: btusb: add support for 0bb4:0306 (diff)
downloadlinux-747d3f1a8a2fc4d8447c63205421a6a67f22799b.tar.xz
linux-747d3f1a8a2fc4d8447c63205421a6a67f22799b.zip
Bluetooth: btqcomsmd: Fix module autoload
If the driver is built as a module, autoload won't work because the module alias information is not filled. So user-space can't match the registered device with the corresponding module. Export the module alias information using the MODULE_DEVICE_TABLE() macro. Before this patch: $ modinfo drivers/bluetooth/btqcomsmd.ko | grep alias $ After this patch: $ modinfo drivers/bluetooth/btqcomsmd.ko | grep alias alias: of:N*T*Cqcom,wcnss-btC* alias: of:N*T*Cqcom,wcnss-bt Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btusb.c')
0 files changed, 0 insertions, 0 deletions