summaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2017-05-21 22:30:33 +0200
committerJiri Kosina <jkosina@suse.cz>2017-05-22 14:00:31 +0200
commit91b9ae48aadd7e634161372b0bc3ffc88a050e8b (patch)
tree99dffd449a9405496bea34db20f56eaf9a44a1c6 /drivers/hid
parent7af4c727c7b6104f94f2ffc3d0899e75a9cc1e55 (diff)
downloadlinux-stable-91b9ae48aadd7e634161372b0bc3ffc88a050e8b.tar.gz
linux-stable-91b9ae48aadd7e634161372b0bc3ffc88a050e8b.tar.bz2
linux-stable-91b9ae48aadd7e634161372b0bc3ffc88a050e8b.zip
HID: i2c-hid: move header file out of I2C realm
include/linux/i2c is not for client devices. Move the header file to a more appropriate location. Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/i2c-hid/i2c-hid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c
index 8daa8ce64ebb..841aa43526eb 100644
--- a/drivers/hid/i2c-hid/i2c-hid.c
+++ b/drivers/hid/i2c-hid/i2c-hid.c
@@ -40,7 +40,7 @@
#include <linux/of.h>
#include <linux/regulator/consumer.h>
-#include <linux/i2c/i2c-hid.h>
+#include <linux/platform_data/i2c-hid.h>
#include "../hid-ids.h"