]> git.karo-electronics.de Git - linux-beck.git/commitdiff
HID: i2c-hid: fix build
authorJiri Kosina <jkosina@suse.cz>
Fri, 9 Dec 2016 12:37:07 +0000 (13:37 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 12 Dec 2016 08:47:01 +0000 (09:47 +0100)
Add a forgotten include that I've by mistake omitted when resolving
merge conflict in ead0687fe30 ("HID: i2c-hid: support regulator power
on/off").

Fixes: ead0687fe30 ("HID: i2c-hid: support regulator power on/off")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/i2c-hid/i2c-hid.c

index 50d23e85b39922867d7fe54c6a6395b512c938a3..5b90ddaa935007219990b61a82daebf7779638b2 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/mutex.h>
 #include <linux/acpi.h>
 #include <linux/of.h>
+#include <linux/regulator/consumer.h>
 
 #include <linux/i2c/i2c-hid.h>