summaryrefslogtreecommitdiff
path: root/include/linux/input
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2012-12-24 21:49:55 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-12-24 21:52:42 +0400
commit176eb8dc91bd91e7b1beb1761ee29f016e8c09e8 (patch)
tree0f4b7b214c5f1007666929333ddb276d4ac02c29 /include/linux/input
parent1fae0315e636dd9b134d2c51b04cec912f02a6c9 (diff)
downloadlinux-176eb8dc91bd91e7b1beb1761ee29f016e8c09e8.tar.xz
Input: adxl34x - make platform_data include self contained
Since it suggests to use defines from input.h (ABS_X, ...), also include the file to make them available. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/input')
-rw-r--r--include/linux/input/adxl34x.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/input/adxl34x.h b/include/linux/input/adxl34x.h
index 57e01a7cb006..010d98175efa 100644
--- a/include/linux/input/adxl34x.h
+++ b/include/linux/input/adxl34x.h
@@ -13,6 +13,8 @@
#ifndef __LINUX_INPUT_ADXL34X_H__
#define __LINUX_INPUT_ADXL34X_H__
+#include <linux/input.h>
+
struct adxl34x_platform_data {
/*