summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2017-05-21 23:57:27 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-05-29 13:36:45 +0200
commitc1a4634013141b96324c647b45356e16f1fff781 (patch)
treed1d123b932f15df0062e0d94c4002ae3e3bec502 /drivers/input
parente3fe07e03e61c8483e8ffe804108787192177a76 (diff)
gpio: adp5588: 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> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/keyboard/adp5588-keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/adp5588-keys.c b/drivers/input/keyboard/adp5588-keys.c
index 53fe9a3fb620..f9d273c8b306 100644
--- a/drivers/input/keyboard/adp5588-keys.c
+++ b/drivers/input/keyboard/adp5588-keys.c
@@ -20,7 +20,7 @@
#include <linux/gpio.h>
#include <linux/slab.h>
-#include <linux/i2c/adp5588.h>
+#include <linux/platform_data/adp5588.h>
/* Key Event Register xy */
#define KEY_EV_PRESSED (1 << 7)