Skip to content

Commit 9df181c

Browse files
arndbhverkuil
authored andcommitted
media: i2c: lt6911uxe: Fix Kconfig dependencies:
The new driver fails to build if I2C is disabled: drivers/media/i2c/lt6911uxe.c:703:1: error: data definition has no type or storage class [-Werror] 703 | module_i2c_driver(lt6911uxe_i2c_driver); or if I2C is on but V4L2_CCI_I2C is not: ERROR: modpost: "cci_write" [drivers/media/i2c/lt6911uxe.ko] undefined! ERROR: modpost: "cci_read" [drivers/media/i2c/lt6911uxe.ko] undefined! For both by adding a dependency on I2C and selecting V4L2_CCI_I2C, which follows the common practice for these. Fixes: e49563c ("media: i2c: add lt6911uxe hdmi bridge driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
1 parent 549d899 commit 9df181c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/media/i2c/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,8 +1149,9 @@ config VIDEO_ISL7998X
11491149

11501150
config VIDEO_LT6911UXE
11511151
tristate "Lontium LT6911UXE decoder"
1152-
depends on ACPI && VIDEO_DEV
1152+
depends on ACPI && VIDEO_DEV && I2C
11531153
select V4L2_FWNODE
1154+
select V4L2_CCI_I2C
11541155
help
11551156
This is a Video4Linux2 sensor-level driver for the Lontium
11561157
LT6911UXE HDMI to MIPI CSI-2 bridge.

0 commit comments

Comments
 (0)