greybus: makefile: add power_supply config check
authorRui Miguel Silva <rui.silva@linaro.org>
Thu, 12 Nov 2015 15:36:01 +0000 (15:36 +0000)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 13 Nov 2015 00:09:32 +0000 (16:09 -0800)
Add check for POWER_SUPPLY config option to guarantee that it is enabled.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/Makefile

index d479a0291ed7859986c4acddee0aa2f32d8b8bed..c3572b35e9928cfa995d13a58342b66c7bb5623b 100644 (file)
@@ -51,7 +51,7 @@ INSTALL_MOD_PATH      ?= /..
 PWD                    := $(shell pwd)
 
 # kernel config option that shall be enable
-CONFIG_OPTIONS_ENABLE := PWM SYSFS SPI USB SND_SOC MMC LEDS_CLASS
+CONFIG_OPTIONS_ENABLE := POWER_SUPPLY PWM SYSFS SPI USB SND_SOC MMC LEDS_CLASS
 
 # kernel config option that shall be disable
 CONFIG_OPTIONS_DISABLE :=