diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2017-05-21 16:30:33 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-05-22 08:00:31 -0400 |
commit | 91b9ae48aadd7e634161372b0bc3ffc88a050e8b (patch) | |
tree | 99dffd449a9405496bea34db20f56eaf9a44a1c6 | |
parent | 7af4c727c7b6104f94f2ffc3d0899e75a9cc1e55 (diff) |
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>
-rw-r--r-- | drivers/hid/i2c-hid/i2c-hid.c | 2 | ||||
-rw-r--r-- | include/linux/platform_data/i2c-hid.h (renamed from include/linux/i2c/i2c-hid.h) | 0 |
2 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 @@ | |||
40 | #include <linux/of.h> | 40 | #include <linux/of.h> |
41 | #include <linux/regulator/consumer.h> | 41 | #include <linux/regulator/consumer.h> |
42 | 42 | ||
43 | #include <linux/i2c/i2c-hid.h> | 43 | #include <linux/platform_data/i2c-hid.h> |
44 | 44 | ||
45 | #include "../hid-ids.h" | 45 | #include "../hid-ids.h" |
46 | 46 | ||
diff --git a/include/linux/i2c/i2c-hid.h b/include/linux/platform_data/i2c-hid.h index 1fb088239d12..1fb088239d12 100644 --- a/include/linux/i2c/i2c-hid.h +++ b/include/linux/platform_data/i2c-hid.h | |||