]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: i2c: ths8200 needs V4L2_ASYNC
authorRandy Dunlap <rdunlap@infradead.org>
Sat, 4 Sep 2021 23:28:08 +0000 (01:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Nov 2021 10:04:02 +0000 (11:04 +0100)
commit80ef29aee4fe7d923d63a52931a9fb1063637462
tree0965085f8376255e4e8e373a7242a77d1ac7d8fb
parent36c37105730661cf0bf6a16bc6d6668591cd3887
media: i2c: ths8200 needs V4L2_ASYNC

[ Upstream commit e4625044d656f3c33ece0cc9da22577bc10ca5d3 ]

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 <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Lad Prabhakar <prabhakar.csengg@gmail.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/i2c/Kconfig