media: i2c: ths8200 needs V4L2_ASYNC
PATCH 1/1 media: i2c: ths8200 needs V4L2_ASYNC
Fix the build errors reported by the kernel test robot by selecting V4L2_ASYNC:
mips-linux-ld: drivers/media/i2c/ths8200.o: in function `ths8200_remove':
ths8200.c:(.text+0x1ec): undefined reference to `v4l2_async_unregister_subdev'
mips-linux-ld: drivers/media/i2c/ths8200.o: in function `ths8200_probe':
ths8200.c:(.text+0x404): undefined reference to `v4l2_async_register_subdev'
--- drivers/media/i2c/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/media/i2c/Kconfig +1 -0
@@ -597,6 +597,7 @@ config VIDEO_AK881X config VIDEO_THS8200 tristate "Texas Instruments THS8200 video encoder" depends on VIDEO_V4L2 && I2C + select V4L2_ASYNC help Support for the Texas Instruments THS8200 video encoder.
Hi Randy,
Thank you for the patch.
Quoted 18 lines · Randy Dunlap
Fix the build errors reported by the kernel test robot by selecting
V4L2_ASYNC:mips-linux-ld:
drivers/media/i2c/ths8200.o: in function `ths8200_remove':
ths8200.c:(.text+0x1ec): undefined reference to `v4l2_async_unregister_subdev'
mips-linux-ld:drivers/media/i2c/ths8200.o: in function `ths8200_probe':
ths8200.c:(.text+0x404): undefined reference to `v4l2_async_register_subdev'Fixes ed29f89497006 ("media: i2c: ths8200: support asynchronous probing")Signed-off-by Randy Dunlap <[email protected]>Reported-by kernel test robot <[email protected]>Cc "Lad, Prabhakar" <[email protected]>Cc Hans Verkuil <[email protected]>Cc Sakari Ailus <[email protected]>Cc Ezequiel Garcia <[email protected]>Cc Mauro Carvalho Chehab <[email protected]>
Quoted 4 lines
--- drivers/media/i2c/Kconfig | 1 + 1 file changed, 1 insertion(+)
Cheers,
Prabhakar
Quoted 10 lines
drivers/media/i2c/Kconfig +1
-0@@ -597,6 +597,7 @@ config VIDEO_AK881X config VIDEO_THS8200 tristate "Texas Instruments THS8200 video encoder" depends on VIDEO_V4L2 && I2C + select V4L2_ASYNC help Support for the Texas Instruments THS8200 video encoder.
Quoted 8 lines · Randy Dunlap
Fix the build errors reported by the kernel test robot by selecting
V4L2_ASYNC:mips-linux-ld:
drivers/media/i2c/ths8200.o: in function `ths8200_remove':
ths8200.c:(.text+0x1ec): undefined reference to `v4l2_async_unregister_subdev'
mips-linux-ld:drivers/media/i2c/ths8200.o: in function `ths8200_probe':
ths8200.c:(.text+0x404): undefined reference to `v4l2_async_register_subdev'
Quoted 9 lines
Fixes ed29f89497006 ("media: i2c: ths8200: support asynchronous probing")Signed-off-by Randy Dunlap <[email protected]>Reported-by kernel test robot <[email protected]>Cc "Lad, Prabhakar" <[email protected]>Cc Hans Verkuil <[email protected]>Cc Sakari Ailus <[email protected]>Cc Ezequiel Garcia <[email protected]>Cc Mauro Carvalho Chehab <[email protected]>
Signature · 1 line
Sakari Ailus