diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2017-05-21 22:30:33 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-05-22 14:00:31 +0200 |
commit | 91b9ae48aadd7e634161372b0bc3ffc88a050e8b (patch) | |
tree | 99dffd449a9405496bea34db20f56eaf9a44a1c6 | |
parent | 7af4c727c7b6104f94f2ffc3d0899e75a9cc1e55 (diff) | |
download | op-kernel-dev-91b9ae48aadd7e634161372b0bc3ffc88a050e8b.zip op-kernel-dev-91b9ae48aadd7e634161372b0bc3ffc88a050e8b.tar.gz |
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 8daa8ce..841aa43 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" diff --git a/include/linux/i2c/i2c-hid.h b/include/linux/platform_data/i2c-hid.h index 1fb0882..1fb0882 100644 --- a/include/linux/i2c/i2c-hid.h +++ b/include/linux/platform_data/i2c-hid.h |