72bd1994cca2f3cae33cf029daa08e73f83ba93a
[openwrt/staging/neocturne.git] /
1 From 914098ba4c3b746211fe03085c33dcb6c8c6fa15 Mon Sep 17 00:00:00 2001
2 From: Hristo Venev <hristo@venev.name>
3 Date: Wed, 19 Aug 2020 17:05:53 +0300
4 Subject: [PATCH] staging: media: rpivid: Select MEDIA_CONTROLLER and
5 MEDIA_CONTROLLER_REQUEST_API
6
7 MEDIA_CONTROLLER_REQUEST_API is a hidden option. If rpivid depends on it,
8 the user would need to first enable another driver that selects
9 MEDIA_CONTROLLER_REQUEST_API, and only then rpivid would become available.
10
11 By selecting it instead of depending on it, it becomes possible to enable
12 rpivid without having to enable other potentially unnecessary drivers.
13
14 Signed-off-by: Hristo Venev <hristo@venev.name>
15 ---
16 drivers/staging/media/rpivid/Kconfig | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-)
18
19 --- a/drivers/staging/media/rpivid/Kconfig
20 +++ b/drivers/staging/media/rpivid/Kconfig
21 @@ -3,9 +3,9 @@
22 config VIDEO_RPIVID
23 tristate "Rpi H265 driver"
24 depends on VIDEO_DEV && VIDEO_V4L2
25 - depends on MEDIA_CONTROLLER
26 depends on OF
27 - depends on MEDIA_CONTROLLER_REQUEST_API
28 + select MEDIA_CONTROLLER
29 + select MEDIA_CONTROLLER_REQUEST_API
30 select VIDEOBUF2_DMA_CONTIG
31 select V4L2_MEM2MEM_DEV
32 help