linux/drivers/media/usb/au0828
Arnd Bergmann 3db4b68e46 media: au0828: fix RC_CORE dependency
When RC_CORE is a loadable module, and au0828 is built-in including
the RC support, we get a link error:

drivers/media/usb/au0828/au0828-input.o: In function `au0828_get_key_au8522':
au0828-input.c:(.text+0x474): undefined reference to `ir_raw_event_store'
drivers/media/usb/au0828/au0828-input.o: In function `au0828_rc_register':
au0828-input.c:(.text+0x7c8): undefined reference to `rc_allocate_device'
au0828-input.c:(.text+0x8f8): undefined reference to `rc_register_device'

This adds an additional dependency, similar to the one for em28xx,
to ensure the broken configuration is never used.

Fixes: 2fcfd317f6 ("[media] au0828: add support for IR on HVR-950Q")

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-08-27 08:35:35 -04:00
..
Kconfig media: au0828: fix RC_CORE dependency 2017-08-27 08:35:35 -04:00
Makefile [media] au0828: add support for IR on HVR-950Q 2014-07-30 15:51:43 -03:00
au0828-cards.c [media] tveeprom: get rid of unused arg on tveeprom_hauppauge_analog() 2017-03-03 07:35:02 -03:00
au0828-cards.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
au0828-core.c media: au0828: fix unbalanced lock/unlock in au0828_usb_probe 2017-08-27 06:57:33 -04:00
au0828-dvb.c [media] au0828: Add timer to restart TS stream if no data arrives on bulk endpoint 2017-06-06 07:52:20 -03:00
au0828-i2c.c media: usb: make i2c_adapter const 2017-08-26 08:41:58 -04:00
au0828-input.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
au0828-reg.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
au0828-vbi.c [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
au0828-video.c media: : usb: add const to v4l2_file_operations structures 2017-07-20 16:45:25 -04:00
au0828.h [media] au0828: Add timer to restart TS stream if no data arrives on bulk endpoint 2017-06-06 07:52:20 -03:00