From: Dmitry Torokhov Date: Tue, 9 Oct 2018 17:52:30 +0000 (-0700) Subject: HID: google: add dependency on Cros EC for Hammer X-Git-Tag: for-linus-20181026~25^2~4^2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=23e542e5ba5e4298a1475f94750317ec1662ba21;p=linux-block.git HID: google: add dependency on Cros EC for Hammer Whiskers tablet mode support needs access to Chrome Embedded Controller, so we need to add dependency on MFD_CROS_EC. Reported-by: kbuild test robot Fixes: eb1aac4c8744 ("HID: google: add support tablet mode switch for Whiskers") Signed-off-by: Dmitry Torokhov Signed-off-by: Jiri Kosina --- diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 61e1953ff921..68d2f773b522 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -351,7 +351,7 @@ config HOLTEK_FF config HID_GOOGLE_HAMMER tristate "Google Hammer Keyboard" - depends on USB_HID && LEDS_CLASS + depends on USB_HID && LEDS_CLASS && MFD_CROS_EC ---help--- Say Y here if you have a Google Hammer device.