1 /* SPDX-License-Identifier: GPL-2.0-only */ << 2 #ifndef _AS5011_H 1 #ifndef _AS5011_H 3 #define _AS5011_H 2 #define _AS5011_H 4 3 5 /* 4 /* 6 * Copyright (c) 2010, 2011 Fabien Marteau <fa 5 * Copyright (c) 2010, 2011 Fabien Marteau <fabien.marteau@armadeus.com> >> 6 * >> 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. 7 */ 10 */ 8 11 9 struct as5011_platform_data { 12 struct as5011_platform_data { >> 13 unsigned int button_gpio; 10 unsigned int axis_irq; /* irq number * 14 unsigned int axis_irq; /* irq number */ 11 unsigned long axis_irqflags; 15 unsigned long axis_irqflags; 12 char xp, xn; /* threshold for x axis * 16 char xp, xn; /* threshold for x axis */ 13 char yp, yn; /* threshold for y axis * 17 char yp, yn; /* threshold for y axis */ 14 }; 18 }; 15 19 16 #endif /* _AS5011_H */ 20 #endif /* _AS5011_H */ 17 21
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.