aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/i2c-hid/i2c-hid.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2016-12-09 13:37:07 +0100
committerJiri Kosina <jkosina@suse.cz>2016-12-12 09:47:01 +0100
commitba1660f1791f31a76da247caebf273b3f3d5071c (patch)
treea5854131049ef5ae601bbe06221f2bd655e6245f /drivers/hid/i2c-hid/i2c-hid.c
parentHID: i2c-hid: Disable IRQ before freeing buffers (diff)
downloadlinux-dev-ba1660f1791f31a76da247caebf273b3f3d5071c.tar.xz
linux-dev-ba1660f1791f31a76da247caebf273b3f3d5071c.zip
HID: i2c-hid: fix build
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>
Diffstat (limited to 'drivers/hid/i2c-hid/i2c-hid.c')
-rw-r--r--drivers/hid/i2c-hid/i2c-hid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c
index 50d23e85b399..5b90ddaa9350 100644
--- a/drivers/hid/i2c-hid/i2c-hid.c
+++ b/drivers/hid/i2c-hid/i2c-hid.c
@@ -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>