Browse Source

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 <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Wolfram Sang 8 years ago
parent
commit
610387d162
2 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/misc/apds990x.c
  2. 0 0
      include/linux/platform_data/apds990x.h

+ 1 - 1
drivers/misc/apds990x.c

@@ -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 */

+ 0 - 0
include/linux/i2c/apds990x.h → include/linux/platform_data/apds990x.h