diff options
| author | Javier Martinez Canillas <[email protected]> | 2016-10-18 18:24:19 -0300 |
|---|---|---|
| committer | Bjorn Andersson <[email protected]> | 2016-10-18 15:18:09 -0700 |
| commit | 3227c876fb9a50fd7169fe265f236acce9ac2d2f (patch) | |
| tree | 153399d3f0c2bc8cc0b219034ac6f2b6729b7567 /scripts/gcc-plugins/gcc-generate-gimple-pass.h | |
| parent | 0f57dc6ae1ff0c702450083176b657ba37c07363 (diff) | |
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 <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-gimple-pass.h')
0 files changed, 0 insertions, 0 deletions