]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
misc: apds990x: move header file out of I2C realm
authorWolfram Sang <wsa@the-dreams.de>
Sun, 21 May 2017 20:42:32 +0000 (22:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 16:25:00 +0000 (18:25 +0200)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/apds990x.c
include/linux/platform_data/apds990x.h [moved from include/linux/i2c/apds990x.h with 100% similarity]

index dfb72ecfa6046117a243703374d78fe49c3e1466..c341164edaad017e77d1c78bd7cdfe20de771846 100644 (file)
@@ -32,7 +32,7 @@
 #include <linux/delay.h>
 #include <linux/wait.h>
 #include <linux/slab.h>
-#include <linux/i2c/apds990x.h>
+#include <linux/platform_data/apds990x.h>
 
 /* Register map */
 #define APDS990X_ENABLE         0x00 /* Enable of states and interrupts */