summaryrefslogtreecommitdiffstats
path: root/include/twl6030_pwrbtn.h
diff options
context:
space:
mode:
authorVicente Bergas <vicencb@gmail.com>2013-03-12 01:01:23 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-03-25 10:21:20 +0100
commit4b6cd0ee4bb07bc3d26f808e180b66fd8f463c17 (patch)
treede5aaab1adfc2474111530f74d19f87aca1072d5 /include/twl6030_pwrbtn.h
parentdfd768b3ac65d3666933779091ab3056960b8e9f (diff)
downloadbarebox-4b6cd0ee4bb07bc3d26f808e180b66fd8f463c17.tar.gz
barebox-4b6cd0ee4bb07bc3d26f808e180b66fd8f463c17.tar.xz
twl6030: add power button as an input key
Signed-off-by: Vicente Bergas <vicencb@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/twl6030_pwrbtn.h')
-rw-r--r--include/twl6030_pwrbtn.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/twl6030_pwrbtn.h b/include/twl6030_pwrbtn.h
new file mode 100644
index 0000000000..c4e13d1f1d
--- /dev/null
+++ b/include/twl6030_pwrbtn.h
@@ -0,0 +1,9 @@
+#ifndef _TWL6030_PWRBTN_H
+#define _TWL6030_PWRBTN_H
+
+struct twl6030_pwrbtn_platform_data {
+ /* key code */
+ int code;
+};
+
+#endif