From: Wolfram Sang Date: Sun, 21 May 2017 20:42:32 +0000 (+0200) Subject: misc: apds990x: move header file out of I2C realm X-Git-Tag: v4.13-rc1~181^2~117 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=610387d162eb1beb6eb2009af5175dc6b44b8da6;p=thirdparty%2Fkernel%2Flinux.git misc: apds990x: 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/misc/apds990x.c b/drivers/misc/apds990x.c index dfb72ecfa6046..c341164edaad0 100644 --- a/drivers/misc/apds990x.c +++ b/drivers/misc/apds990x.c @@ -32,7 +32,7 @@ #include #include #include -#include +#include /* Register map */ #define APDS990X_ENABLE 0x00 /* Enable of states and interrupts */ diff --git a/include/linux/i2c/apds990x.h b/include/linux/platform_data/apds990x.h similarity index 100% rename from include/linux/i2c/apds990x.h rename to include/linux/platform_data/apds990x.h