media: v4l: marvell: select CONFIG_V4L2_ASYNC where needed
authorArnd Bergmann <arnd@arndb.de>
Tue, 13 Feb 2024 09:55:51 +0000 (10:55 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Fri, 16 Feb 2024 10:46:33 +0000 (11:46 +0100)
commit9fb86bee963b744e8e25a11a710e1fcf7278278f
treeeb0e713c4024f636bad80773defef52ae1e01927
parent30baa4a96b23add91a87305baaeba82c4e109e1f
media: v4l: marvell: select CONFIG_V4L2_ASYNC where needed

Drivers that call v4l2_async_nf_init() need to select the corresponding
Kconfig symbol:

ERROR: modpost: "v4l2_async_nf_init" [drivers/media/platform/marvell/cafe_ccic.ko] undefined!
ERROR: modpost: "__v4l2_async_nf_add_i2c" [drivers/media/platform/marvell/cafe_ccic.ko] undefined!
ERROR: modpost: "v4l2_async_nf_unregister" [drivers/media/platform/marvell/mcam-core.ko] undefined!
ERROR: modpost: "v4l2_async_nf_init" [drivers/media/platform/marvell/mmp_camera.ko] undefined!
ERROR: modpost: "__v4l2_async_nf_add_fwnode_remote" [drivers/media/platform/marvell/mmp_camera.ko] undefined!

I checked all v4l2 drivers to see if anything else has the same
bug, but these two appear to be the only ones.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/marvell/Kconfig