dt: add helper to read 64-bit integers
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / input / as5011.h
blob1affd0ddfa9d8a90dd3a3d25e3aa63a13cbb0e32
1 #ifndef _AS5011_H
2 #define _AS5011_H
4 /*
5 * Copyright (c) 2010, 2011 Fabien Marteau <fabien.marteau@armadeus.com>
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published by
9 * the Free Software Foundation.
12 struct as5011_platform_data {
13 unsigned int button_gpio;
14 unsigned int axis_irq; /* irq number */
15 unsigned long axis_irqflags;
16 char xp, xn; /* threshold for x axis */
17 char yp, yn; /* threshold for y axis */
20 #endif /* _AS5011_H */