2ae2074425d319b5cde852689930c26aaa29e893
[openwrt/staging/blogic.git] /
1 From 618001e2e90c1d7311c930c0eff674fc844619f3 Mon Sep 17 00:00:00 2001
2 From: Hristo Venev <hristo@venev.name>
3 Date: Wed, 19 Aug 2020 17:02:22 +0300
4 Subject: [PATCH] media: bcm2835: unicam: Select MEDIA_CONTROLLER and
5 VIDEO_V4L2_SUBDEV_API
6
7 That is what almost all other drivers appear to be doing.
8
9 Signed-off-by: Hristo Venev <hristo@venev.name>
10 ---
11 drivers/media/platform/bcm2835/Kconfig | 4 +++-
12 1 file changed, 3 insertions(+), 1 deletion(-)
13
14 --- a/drivers/media/platform/bcm2835/Kconfig
15 +++ b/drivers/media/platform/bcm2835/Kconfig
16 @@ -2,8 +2,10 @@
17
18 config VIDEO_BCM2835_UNICAM
19 tristate "Broadcom BCM2835 Unicam video capture driver"
20 - depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && MEDIA_CONTROLLER
21 + depends on VIDEO_V4L2
22 depends on ARCH_BCM2835 || COMPILE_TEST
23 + select VIDEO_V4L2_SUBDEV_API
24 + select MEDIA_CONTROLLER
25 select VIDEOBUF2_DMA_CONTIG
26 select V4L2_FWNODE
27 help