staging: vchiq: Make creation of vchiq cdev optional
authorOjaswin Mujoo <ojaswin98@gmail.com>
Wed, 21 Jul 2021 16:20:52 +0000 (21:50 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Jul 2021 13:23:25 +0000 (15:23 +0200)
commit2b5930fb3dc06d86149071f9dc8b6992cac1c3aa
treef5df5bfd81bb87924695d30ba49c5378a0b3a344
parentf05916281fd75db2fe32294e26c04d666c762370
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>
drivers/staging/vc04_services/Kconfig
drivers/staging/vc04_services/Makefile
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h