浏览代码

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 年之前
父节点
当前提交
610387d162
共有 2 个文件被更改,包括 1 次插入1 次删除
  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