Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1573461 > unrolled thread

Re: [PATCH] Bluetooth: btqcomsmd: Fix module autoload

Started byJavier Martinez Canillas <javier@osg.samsung.com>
First post2017-02-03 22:40 +0100
Last post2017-02-03 22:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] Bluetooth: btqcomsmd: Fix module autoload Javier Martinez Canillas <javier@osg.samsung.com> - 2017-02-03 22:40 +0100

#1573461 — Re: [PATCH] Bluetooth: btqcomsmd: Fix module autoload

FromJavier Martinez Canillas <javier@osg.samsung.com>
Date2017-02-03 22:40 +0100
SubjectRe: [PATCH] Bluetooth: btqcomsmd: Fix module autoload
Message-ID<t6TKi-7ml-23@gated-at.bofh.it>
Hello,

On 01/02/2017 10:09 AM, Javier Martinez Canillas wrote:
> 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>
> ---

Any comments about this patch?

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web