HID: google: add dependency on Cros EC for Hammer
authorDmitry Torokhov <dtor@chromium.org>
Tue, 9 Oct 2018 17:52:30 +0000 (10:52 -0700)
committerJiri Kosina <jkosina@suse.cz>
Tue, 9 Oct 2018 22:01:39 +0000 (00:01 +0200)
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 <lkp@intel.com>
Fixes: eb1aac4c8744 ("HID: google: add support tablet mode switch for Whiskers")
Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig

index 61e1953ff9219db2783d5c1b7b2af43a0d39d27a..68d2f773b52272fb7c5808c87984729f86caabf9 100644 (file)
@@ -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.