2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-17 10:04:14 +08:00
linux-next/drivers/staging/media
Javier Martinez Canillas 2411434a2b [media] st-cec: 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/staging/media//st-cec/stih-cec.ko | grep alias
$

After this patch:

$ modinfo drivers/staging/media//st-cec/stih-cec.ko | grep alias
alias:          of:N*T*Cst,stih-cecC*
alias:          of:N*T*Cst,stih-cec

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-11-16 13:21:05 -02:00
..
bcm2048 [media] bcm2048: Remove FSF mailing address 2016-10-24 18:32:05 -02:00
cec Linux 4.8 2016-10-05 16:43:53 -03:00
cxd2099 staging: media: cxd2099: replace printk with dev_info 2016-09-20 13:59:45 +02:00
davinci_vpfe staging: media: replace unsigned with unsigned int 2016-10-02 16:57:47 +02:00
lirc [media] lirc_imon: use complete() instead complete_all() 2016-10-24 17:40:09 -02:00
omap4iss [media] staging: media: omap4iss: mark omap4iss_flush() static 2016-09-19 16:28:05 -03:00
pulse8-cec Linux 4.8 2016-10-05 16:43:53 -03:00
s5p-cec [media] s5p-cec: Fix module autoload 2016-11-16 13:20:36 -02:00
st-cec [media] st-cec: Fix module autoload 2016-11-16 13:21:05 -02:00
Kconfig [media] add stih-cec driver 2016-09-19 12:48:34 -03:00
Makefile [media] add stih-cec driver 2016-09-19 12:48:34 -03:00