summaryrefslogtreecommitdiff
path: root/drivers/staging/vc04_services/Kconfig
diff options
context:
space:
mode:
authorOjaswin Mujoo <ojaswin98@gmail.com>2021-07-21 19:20:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-27 16:23:25 +0300
commit2b5930fb3dc06d86149071f9dc8b6992cac1c3aa (patch)
treef5df5bfd81bb87924695d30ba49c5378a0b3a344 /drivers/staging/vc04_services/Kconfig
parentf05916281fd75db2fe32294e26c04d666c762370 (diff)
downloadlinux-2b5930fb3dc06d86149071f9dc8b6992cac1c3aa.tar.xz
staging: vchiq: Make creation of vchiq cdev optional
Before this commit, vchiq cdev (/dev/vchiq) was always created during platform initialization. Introduce a new Kconfig option CONFIG_VCHIQ_CDEV which determines if the cdev will be created or not. Reviewed-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Ojaswin Mujoo <ojaswin98@gmail.com> Link: https://lore.kernel.org/r/846c424dd4aae14d1cc28c8f30877a06e2b7dd10.1626882325.git.ojaswin98@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vc04_services/Kconfig')
-rw-r--r--drivers/staging/vc04_services/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/staging/vc04_services/Kconfig b/drivers/staging/vc04_services/Kconfig
index 4b886293f198..63caa6818d37 100644
--- a/drivers/staging/vc04_services/Kconfig
+++ b/drivers/staging/vc04_services/Kconfig
@@ -19,6 +19,16 @@ config BCM2835_VCHIQ
Defaults to Y when the Broadcom Videocore services
are included in the build, N otherwise.
+if BCM2835_VCHIQ
+
+config VCHIQ_CDEV
+ bool "VCHIQ Character Driver"
+ help
+ Enable the creation of VCHIQ character driver to help
+ communicate with the Videocore platform.
+
+endif
+
source "drivers/staging/vc04_services/bcm2835-audio/Kconfig"
source "drivers/staging/vc04_services/bcm2835-camera/Kconfig"