]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/linux/input/as5011.h
Merge tag 'v2.6.38' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[mv-sheeva.git] / include / linux / input / as5011.h
diff --git a/include/linux/input/as5011.h b/include/linux/input/as5011.h
new file mode 100644 (file)
index 0000000..1affd0d
--- /dev/null
@@ -0,0 +1,20 @@
+#ifndef _AS5011_H
+#define _AS5011_H
+
+/*
+ * Copyright (c) 2010, 2011 Fabien Marteau <fabien.marteau@armadeus.com>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published by
+ * the Free Software Foundation.
+ */
+
+struct as5011_platform_data {
+       unsigned int button_gpio;
+       unsigned int axis_irq; /* irq number */
+       unsigned long axis_irqflags;
+       char xp, xn; /* threshold for x axis */
+       char yp, yn; /* threshold for y axis */
+};
+
+#endif /* _AS5011_H */