• Arnd Bergmann's avatar
    media: i2c: TDA1997x: select CONFIG_HDMI · 79e89e36
    Arnd Bergmann authored
    Without CONFIG_HDMI, we get a link error for this driver:
    
    drivers/media/i2c/tda1997x.o: In function `tda1997x_parse_infoframe':
    tda1997x.c:(.text+0x2195): undefined reference to `hdmi_infoframe_unpack'
    tda1997x.c:(.text+0x21b6): undefined reference to `hdmi_infoframe_log'
    drivers/media/i2c/tda1997x.o: In function `tda1997x_log_infoframe':
    tda1997x.c:(.text.unlikely+0x13d3): undefined reference to `hdmi_infoframe_unpack'
    tda1997x.c:(.text.unlikely+0x1426): undefined reference to `hdmi_infoframe_log'
    
    All other drivers in this directory that use HDMI select CONFIG_HDMI,
    so do the same here:
    
    Fixes: 9ac0038d ("media: i2c: Add TDA1997x HDMI receiver driver")
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
    79e89e36
Kconfig 31.4 KB