• H
    [media] tc358743: add missing Kconfig dependency/select · 22dbe35a
    Hans Verkuil 提交于
    As reported by Randy:
    > when CONFIG_MEDIA_CONTROLLER is not enabled:
    >
    > ../drivers/media/i2c/tc358743.c: In function 'tc358743_probe':
    > ../drivers/media/i2c/tc358743.c:1890:29: error: 'struct v4l2_subdev' has no member named 'entity'
    >   err = media_entity_init(&sd->entity, 1, &state->pad, 0);
    >                              ^
    > ../drivers/media/i2c/tc358743.c:1940:26: error: 'struct v4l2_subdev' has no member named 'entity'
    >   media_entity_cleanup(&sd->entity);
    >                           ^
    > ../drivers/media/i2c/tc358743.c: In function 'tc358743_remove':
    > ../drivers/media/i2c/tc358743.c:1955:26: error: 'struct v4l2_subdev' has no member named 'entity'
    >   media_entity_cleanup(&sd->entity);
    >                           ^
    
    This driver depends on VIDEO_V4L2_SUBDEV_API and needs to select HDMI.
    Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
    Reported-by: NRandy Dunlap <rdunlap@infradead.org>
    Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
    22dbe35a
Kconfig 20.7 KB