staging: greybus: fix up camera Kconfig dependancies
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Sep 2016 10:35:13 +0000 (12:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Sep 2016 10:35:13 +0000 (12:35 +0200)
CONFIG_MEDIA is not a thing, but CONFIG_MEDIA_SUPPORT is, so use that.

Reported-by: Valentin Rothberg <valentinrothberg@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/Kconfig

index 89c49767d2475ff9ddfea699d8e7dc90e795ac1c..50de2d72dde029c23914af0f365c120d92619c95 100644 (file)
@@ -48,7 +48,7 @@ config GREYBUS_BOOTROM
 
 config GREYBUS_CAMERA
        tristate "Greybus Camera Class driver"
-       depends on MEDIA && LEDS_CLASS_FLASH && BROKEN
+       depends on MEDIA_SUPPORT && LEDS_CLASS_FLASH && BROKEN
        ---help---
          Select this option if you have a device that follows the
          Greybus Camera Class specification.