aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/apds990x.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2017-05-21 22:42:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-25 18:25:00 +0200
commit610387d162eb1beb6eb2009af5175dc6b44b8da6 (patch)
tree330c4055782de1718d543f0e259a0198d4204128 /drivers/misc/apds990x.c
parent4654bdb63910eaafd586c7c12b473ecc0b3ab94a (diff)
downloadlinux-610387d162eb1beb6eb2009af5175dc6b44b8da6.tar.gz
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>
Diffstat (limited to 'drivers/misc/apds990x.c')
-rw-r--r--drivers/misc/apds990x.c2
1 files changed, 1 insertions, 1 deletions
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 <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 */