staging: bcm2835-camera: select BCM2835_VCHIQ rather then depending on it.
authorMichael Zoran <mzoran@crowfest.net>
Thu, 2 Mar 2017 03:10:49 +0000 (19:10 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 13:02:03 +0000 (14:02 +0100)
Change the camera's dependency on BCM2835_VCHIQ to a select
since camera support is typically more important to people
then base VCHIQ(which they may not even know what it's for).

Also, with a dependency the camera support would not be
visiable until VCHIQ is selected first, and that may
not be what most people would expect.

Signed-off-by: Michael Zoran <mzoran@crowfest.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-camera/Kconfig

index 64be42e..25e534c 100644 (file)
@@ -2,8 +2,8 @@ config VIDEO_BCM2835
        tristate "BCM2835 Camera"
        depends on MEDIA_SUPPORT
        depends on VIDEO_V4L2 && (ARCH_BCM2835 || COMPILE_TEST)
-       depends on BCM2835_VCHIQ
        depends on ARM
+       select BCM2835_VCHIQ
        select VIDEOBUF2_VMALLOC
        help
          Say Y here to enable camera host interface devices for