[PATCH] gpio_keys driver shouldn't be ARM-specific
[pandora-kernel.git] / include / linux / gpio_keys.h
diff --git a/include/linux/gpio_keys.h b/include/linux/gpio_keys.h
new file mode 100644 (file)
index 0000000..2b217c7
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef _GPIO_KEYS_H
+#define _GPIO_KEYS_H
+
+struct gpio_keys_button {
+       /* Configuration parameters */
+       int keycode;
+       int gpio;
+       int active_low;
+       char *desc;
+};
+
+struct gpio_keys_platform_data {
+       struct gpio_keys_button *buttons;
+       int nbuttons;
+};
+
+#endif