]> asedeno.scripts.mit.edu Git - linux.git/commit
media: cx231xx: fix RC_CORE dependency
authorArnd Bergmann <arnd@arndb.de>
Fri, 25 May 2018 15:25:10 +0000 (11:25 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 27 Jun 2018 14:45:15 +0000 (10:45 -0400)
commit9fab166a3e8f9e071de3418d27ffd03cdba2e9df
treeb671c065147b08816ad7ff9235c4011fea5c21a1
parent4e61d7d1dd4c5b2e6da73852c24160e2ce7f8147
media: cx231xx: fix RC_CORE dependency

With CONFIG_RC_CORE=m and VIDEO_CX231XX=y, we get a link failure:

drivers/media/usb/cx231xx/cx231xx-input.o: In function `cx231xx_ir_init':
cx231xx-input.c:(.text+0xd4): undefined reference to `rc_allocate_device'

This narrows down the dependency so that only valid configurations
are allowed.

Fixes: 84545d2a1436 ("media: cx231xx: Remove RC_CORE dependency")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/cx231xx/Kconfig