• Hans Verkuil's avatar
    [media] tw68: remove bogus I2C_ALGOBIT dependency · f2d90e64
    Hans Verkuil authored
    tw68 doesn't use i2c at all, so remove this bogus dependency to prevent
    this warning:
    
    warning: (CAN_PEAK_PCIEC && SFC && IGB && VIDEO_TW68 && DRM && FB_DDC && FB_VIA) selects I2C_ALGOBIT which has unmet direct dependencies (I2C)
       CC [M]  drivers/i2c/algos/i2c-algo-bit.o
    ../drivers/i2c/algos/i2c-algo-bit.c: In function 'i2c_bit_add_bus':
    ../drivers/i2c/algos/i2c-algo-bit.c:658:33: error: 'i2c_add_adapter' undeclared (first use in this function)
    ../drivers/i2c/algos/i2c-algo-bit.c:658:33: note: each undeclared identifier is reported only once for each function it appears in
    ../drivers/i2c/algos/i2c-algo-bit.c: In function 'i2c_bit_add_numbered_bus':
    ../drivers/i2c/algos/i2c-algo-bit.c:664:33: error: 'i2c_add_numbered_adapter' undeclared (first use in this function)
    ../drivers/i2c/algos/i2c-algo-bit.c: In function 'i2c_bit_add_bus':
    ../drivers/i2c/algos/i2c-algo-bit.c:659:1: warning: control reaches end of non-void function [-Wreturn-type]
    ../drivers/i2c/algos/i2c-algo-bit.c: In function 'i2c_bit_add_numbered_bus':
    ../drivers/i2c/algos/i2c-algo-bit.c:665:1: warning: control reaches end of non-void function [-Wreturn-type]
    Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
    Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
    f2d90e64
Kconfig 290 Bytes