diff options
| author | Javier Martinez Canillas <[email protected]> | 2016-10-17 13:44:09 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-11-16 13:17:07 -0200 |
| commit | d6023d33a4ac9bc53975c9029a59135d71a76268 (patch) | |
| tree | 256aa04283ecd20e3ecf61405363dec0679269b6 /tools/perf/scripts/python/bin | |
| parent | 3184c3bf67d1360a303dd02edccab41e37a637bd (diff) | |
[media] v4l: rcar-fcp: Fix module autoload for OF registration
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/media/platform/rcar-fcp.ko | grep alias
alias: rcar-fcp
After this patch:
$ modinfo drivers/media/platform/rcar-fcp.ko | grep alias
alias: rcar-fcp
alias: of:N*T*Crenesas,fcpvC*
alias: of:N*T*Crenesas,fcpv
alias: of:N*T*Crenesas,fcpfC*
alias: of:N*T*Crenesas,fcpf
Signed-off-by: Javier Martinez Canillas <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions