diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2016-10-18 18:24:19 -0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-10-18 15:18:09 -0700 |
commit | 3227c876fb9a50fd7169fe265f236acce9ac2d2f (patch) | |
tree | 153399d3f0c2bc8cc0b219034ac6f2b6729b7567 /kernel | |
parent | 0f57dc6ae1ff0c702450083176b657ba37c07363 (diff) | |
download | linux-3227c876fb9a50fd7169fe265f236acce9ac2d2f.tar.gz linux-3227c876fb9a50fd7169fe265f236acce9ac2d2f.tar.bz2 linux-3227c876fb9a50fd7169fe265f236acce9ac2d2f.zip |
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions