summaryrefslogtreecommitdiffstats
path: root/include/media/cec-notifier.h
diff options
context:
space:
mode:
authorArnd Bergmann2019-03-13 22:18:07 +0100
committerMauro Carvalho Chehab2019-04-22 19:07:46 +0200
commit63604a143fe168094fbbccba56f6e3241683e399 (patch)
tree542f1f5308ccadf1863af125529968e5d09a7a8a /include/media/cec-notifier.h
parentmedia: ts2020: Variable "utmp" in function ts2020_set_tuner_rf() could be uni... (diff)
downloadkernel-qcow2-linux-63604a143fe168094fbbccba56f6e3241683e399.tar.gz
kernel-qcow2-linux-63604a143fe168094fbbccba56f6e3241683e399.tar.xz
kernel-qcow2-linux-63604a143fe168094fbbccba56f6e3241683e399.zip
media: seco-cec: fix building with RC_CORE=m
I previously added an RC_CORE dependency here, but missed the corner case of CONFIG_VIDEO_SECO_CEC=y with CONFIG_RC_CORE=m, which still causes a link error: drivers/media/platform/seco-cec/seco-cec.o: In function `secocec_probe': seco-cec.c:(.text+0x1b8): undefined reference to `devm_rc_allocate_device' seco-cec.c:(.text+0x2e8): undefined reference to `devm_rc_register_device' drivers/media/platform/seco-cec/seco-cec.o: In function `secocec_irq_handler': seco-cec.c:(.text+0xa2c): undefined reference to `rc_keydown' Refine the dependency to disallow building the RC subdriver in this case. This is the same logic we apply in other drivers like it. Fixes: f27dd0ad6885 ("media: seco-cec: fix RC_CORE dependency") Cc: <stable@vger.kernel.org> # 5.1 Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/media/cec-notifier.h')
0 files changed, 0 insertions, 0 deletions