From: Wolfram Sang Date: Sun, 21 May 2017 20:30:33 +0000 (+0200) Subject: HID: i2c-hid: move header file out of I2C realm X-Git-Tag: v4.13-rc1~72^2^5~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91b9ae48aadd7e634161372b0bc3ffc88a050e8b;p=thirdparty%2Fkernel%2Flinux.git 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 Acked-by: Benjamin Tissoires Signed-off-by: Jiri Kosina --- diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c index 8daa8ce64ebba..841aa43526eba 100644 --- a/drivers/hid/i2c-hid/i2c-hid.c +++ b/drivers/hid/i2c-hid/i2c-hid.c @@ -40,7 +40,7 @@ #include #include -#include +#include #include "../hid-ids.h" diff --git a/include/linux/i2c/i2c-hid.h b/include/linux/platform_data/i2c-hid.h similarity index 100% rename from include/linux/i2c/i2c-hid.h rename to include/linux/platform_data/i2c-hid.h