OSDN Git Service

media: atomisp: fix videobuf2 Kconfig depenendency
authorArnd Bergmann <arnd@arndb.de>
Wed, 4 Jan 2023 08:21:36 +0000 (09:21 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Wed, 8 Feb 2023 06:54:14 +0000 (07:54 +0100)
commitbe94be1b7fc7e51f9ccef20a0ef76583587275f3
treec031d9c1e1733a59b74f9d446161835889c246f2
parent29b0589a865b6f66d141d79b2dd1373e4e50fe17
media: atomisp: fix videobuf2 Kconfig depenendency

The recent conversion missed the Kconfig bit, so it can now
end up in a link error on randconfig builds:

ld.lld: error: undefined symbol: vb2_vmalloc_memops
>>> referenced by atomisp_fops.c
>>>               drivers/staging/media/atomisp/pci/atomisp_fops.o:(atomisp_open) in archive vmlinux.a

Link: https://lore.kernel.org/r/20230104082212.3770415-1-arnd@kernel.org
Fixes: cb48ae89be3b ("media: atomisp: Convert to videobuf2")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/Kconfig