/include/linux/input/as5011.h
https://github.com/airy09/android_kernel_sony_apq8064 · C Header · 20 lines · 10 code · 3 blank · 7 comment · 0 complexity · b6d4514f92a392c24a92663de191da98 MD5 · raw file
- #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 */