projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fae031
)
Input: adxl34x - make platform_data include self contained
author
Wolfram Sang
<w.sang@pengutronix.de>
Mon, 24 Dec 2012 17:49:55 +0000
(09:49 -0800)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Mon, 24 Dec 2012 17:52:42 +0000
(09:52 -0800)
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>
include/linux/input/adxl34x.h
patch
|
blob
|
history
diff --git
a/include/linux/input/adxl34x.h
b/include/linux/input/adxl34x.h
index 57e01a7cb0060eb5e02f76ca72d18ccf707d2731..010d98175efa78de44e641671cf7a3545aa959d8 100644
(file)
--- 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 {
/*