mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
af148e458d
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/remoteproc/qcom_wcnss_iris.ko | grep alias $ After this patch: $ modinfo drivers/remoteproc/qcom_wcnss_iris.ko | grep alias alias: of:N*T*Cqcom,wcn3680C* alias: of:N*T*Cqcom,wcn3680 alias: of:N*T*Cqcom,wcn3660C* alias: of:N*T*Cqcom,wcn3660 alias: of:N*T*Cqcom,wcn3620C* alias: of:N*T*Cqcom,wcn3620 Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> |
||
---|---|---|
.. | ||
da8xx_remoteproc.c | ||
Kconfig | ||
Makefile | ||
omap_remoteproc.c | ||
omap_remoteproc.h | ||
qcom_mdt_loader.c | ||
qcom_mdt_loader.h | ||
qcom_q6v5_pil.c | ||
qcom_wcnss_iris.c | ||
qcom_wcnss.c | ||
qcom_wcnss.h | ||
remoteproc_core.c | ||
remoteproc_debugfs.c | ||
remoteproc_elf_loader.c | ||
remoteproc_internal.h | ||
remoteproc_virtio.c | ||
st_remoteproc.c | ||
ste_modem_rproc.c | ||
wkup_m3_rproc.c |