summaryrefslogtreecommitdiffstats
path: root/include/gpio_keys.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-02-14 09:18:33 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-02-17 08:23:41 +0100
commit59d6a0b7f104655afdbe7fd2ec0c4ccecec2a719 (patch)
treeefac7d7d7bfd258a954a1e706130072ad577c842 /include/gpio_keys.h
parent7e66707c7662c50c82c6eb62668134e3e342c34f (diff)
downloadbarebox-59d6a0b7f104655afdbe7fd2ec0c4ccecec2a719.tar.gz
barebox-59d6a0b7f104655afdbe7fd2ec0c4ccecec2a719.tar.xz
input: gpio-keys: separate internal data from platform_data
Do not abuse platform data for internal driver data, instead use a separate struct for that. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/gpio_keys.h')
-rw-r--r--include/gpio_keys.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/gpio_keys.h b/include/gpio_keys.h
index fc548fabcd..f4a22e16db 100644
--- a/include/gpio_keys.h
+++ b/include/gpio_keys.h
@@ -10,9 +10,6 @@ struct gpio_keys_button {
int gpio;
int active_low;
-
- /* internal */
- int previous_state;
};
struct gpio_keys_platform_data {
@@ -21,10 +18,6 @@ struct gpio_keys_platform_data {
/* optional */
int fifo_size;
-
- struct kfifo *recv_fifo;
- struct poller_struct poller;
- struct console_device cdev;
};
#endif