staging: bcm2835-audio: select BCM2835_VCHIQ rather then depending on it.
authorMichael Zoran <mzoran@crowfest.net>
Thu, 2 Mar 2017 03:10:48 +0000 (19:10 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 13:02:03 +0000 (14:02 +0100)
Change the audio's dependency on BCM2835_VCHIQ to a select
since audio 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 audio 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-audio/Kconfig

index b2e6d90ef1cb789a4ae00c6905e8db6d246f4734..9f536533c257605a831c0bb7e3c804828d4c6780 100644 (file)
@@ -1,7 +1,8 @@
 config SND_BCM2835
         tristate "BCM2835 Audio"
-        depends on ARCH_BCM2835 && BCM2835_VCHIQ && SND
+        depends on ARCH_BCM2835 && SND
         select SND_PCM
+        select BCM2835_VCHIQ
         help
           Say Y or M if you want to support BCM2835 built in audio