OpenCloudOS-Kernel/drivers/remoteproc
Javier Martinez Canillas 3227c876fb remoteproc: qcom: q6v5_pil: 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/remoteproc/qcom_q6v5_pil.ko | grep alias
$

After this patch:

$ modinfo drivers/remoteproc/qcom_q6v5_pil.ko | grep alias
alias:          of:N*T*Cqcom,q6v5-pilC*
alias:          of:N*T*Cqcom,q6v5-pil

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2016-10-18 15:18:09 -07:00
..
Kconfig rpmsg updates for v4.9 2016-10-06 17:03:49 -07:00
Makefile remoteproc: qcom: Introduce WCNSS peripheral image loader 2016-08-18 12:48:46 -07:00
da8xx_remoteproc.c remoteproc: Split driver and consumer dereferencing 2016-10-02 22:50:21 -07:00
omap_remoteproc.c remoteproc: Split driver and consumer dereferencing 2016-10-02 22:50:21 -07:00
omap_remoteproc.h remoteproc/omap: add a remoteproc driver for OMAP4 2012-02-08 22:53:47 +02:00
qcom_mdt_loader.c remoteproc: qcom: Driver for the self-authenticating Hexagon v5 2016-07-13 13:38:15 -07:00
qcom_mdt_loader.h remoteproc: qcom: Driver for the self-authenticating Hexagon v5 2016-07-13 13:38:15 -07:00
qcom_q6v5_pil.c remoteproc: qcom: q6v5_pil: Fix module autoload 2016-10-18 15:18:09 -07:00
qcom_wcnss.c remoteproc: Split driver and consumer dereferencing 2016-10-02 22:50:21 -07:00
qcom_wcnss.h remoteproc: qcom: Introduce WCNSS peripheral image loader 2016-08-18 12:48:46 -07:00
qcom_wcnss_iris.c remoteproc: qcom: Introduce WCNSS peripheral image loader 2016-08-18 12:48:46 -07:00
remoteproc_core.c remoteproc: Keep local copy of firmware name 2016-10-18 15:03:35 -07:00
remoteproc_debugfs.c remoteproc: align code with open parenthesis 2016-08-12 21:27:49 -07:00
remoteproc_elf_loader.c remoteproc: align code with open parenthesis 2016-08-12 21:27:49 -07:00
remoteproc_internal.h remoteproc: align code with open parenthesis 2016-08-12 21:27:49 -07:00
remoteproc_virtio.c remoteproc: Introduce auto-boot flag 2016-08-17 23:17:42 -07:00
st_remoteproc.c remoteproc: Split driver and consumer dereferencing 2016-10-02 22:50:21 -07:00
ste_modem_rproc.c remoteproc: Split driver and consumer dereferencing 2016-10-02 22:50:21 -07:00
wkup_m3_rproc.c remoteproc: Split driver and consumer dereferencing 2016-10-02 22:50:21 -07:00