staging: media: rpivid: Select MEDIA_CONTROLLER and MEDIA_CONTROLLER_REQUEST_API

MEDIA_CONTROLLER_REQUEST_API is a hidden option. If rpivid depends on it,
the user would need to first enable another driver that selects
MEDIA_CONTROLLER_REQUEST_API, and only then rpivid would become available.

By selecting it instead of depending on it, it becomes possible to enable
rpivid without having to enable other potentially unnecessary drivers.

Signed-off-by: Hristo Venev <hristo@venev.name>
This commit is contained in:
Hristo Venev
2020-08-19 17:05:53 +03:00
committed by popcornmix
parent cd0030d312
commit c7c1ad8c83

View File

@@ -3,9 +3,9 @@
config VIDEO_RPIVID
tristate "Rpi H265 driver"
depends on VIDEO_DEV && VIDEO_V4L2
depends on MEDIA_CONTROLLER
depends on OF
depends on MEDIA_CONTROLLER_REQUEST_API
select MEDIA_CONTROLLER
select MEDIA_CONTROLLER_REQUEST_API
select VIDEOBUF2_DMA_CONTIG
select V4L2_MEM2MEM_DEV
help