aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/apds990x.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2017-05-21 16:42:32 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-25 12:25:00 -0400
commit610387d162eb1beb6eb2009af5175dc6b44b8da6 (patch)
tree330c4055782de1718d543f0e259a0198d4204128 /drivers/misc/apds990x.c
parent4654bdb63910eaafd586c7c12b473ecc0b3ab94a (diff)
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 dfb72ecfa604..c341164edaad 100644
--- a/drivers/misc/apds990x.c
+++ b/drivers/misc/apds990x.c
@@ -32,7 +32,7 @@
32#include <linux/delay.h> 32#include <linux/delay.h>
33#include <linux/wait.h> 33#include <linux/wait.h>
34#include <linux/slab.h> 34#include <linux/slab.h>
35#include <linux/i2c/apds990x.h> 35#include <linux/platform_data/apds990x.h>
36 36
37/* Register map */ 37/* Register map */
38#define APDS990X_ENABLE 0x00 /* Enable of states and interrupts */ 38#define APDS990X_ENABLE 0x00 /* Enable of states and interrupts */