diff options
| author | Javier Martinez Canillas <[email protected]> | 2017-01-02 10:09:56 -0300 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2017-02-16 17:18:27 +0100 |
| commit | 747d3f1a8a2fc4d8447c63205421a6a67f22799b (patch) | |
| tree | 343250f0415e94e2f081af2947a2094e9fc68f24 /tools/perf/scripts/python | |
| parent | a57bac43468e005064d6560183b313b269403f0a (diff) | |
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 <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions