summaryrefslogtreecommitdiffstats
path: root/tools/lib/api/fs/fs.c
diff options
context:
space:
mode:
authorNicolas Dechesne2017-10-03 11:49:51 +0200
committerMark Brown2017-10-03 18:34:19 +0200
commit46d69e141d479585c105a4d5b2337cd2ce6967e5 (patch)
treebed351d9ccf1365a6bfcfe96ec012e5edec4a076 /tools/lib/api/fs/fs.c
parentASoC: codecs: msm8916-wcd-analog: use btn0 released detection (diff)
downloadkernel-qcow2-linux-46d69e141d479585c105a4d5b2337cd2ce6967e5.tar.gz
kernel-qcow2-linux-46d69e141d479585c105a4d5b2337cd2ce6967e5.tar.xz
kernel-qcow2-linux-46d69e141d479585c105a4d5b2337cd2ce6967e5.zip
ASoC: codecs: msm8916-wcd-analog: 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 snd_soc_msm8916_analog | grep alias $ After this patch: $ modinfo snd_soc_msm8916_analog | grep alias alias: of:N*T*Cqcom,pm8916-wcd-analog-codecC* alias: of:N*T*Cqcom,pm8916-wcd-analog-codec Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/lib/api/fs/fs.c')
0 files changed, 0 insertions, 0 deletions