1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
---|---|
2 | #ifndef _AS5011_H |
3 | #define _AS5011_H |
4 | |
5 | /* |
6 | * Copyright (c) 2010, 2011 Fabien Marteau <fabien.marteau@armadeus.com> |
7 | */ |
8 | |
9 | struct as5011_platform_data { |
10 | unsigned int axis_irq; /* irq number */ |
11 | unsigned long axis_irqflags; |
12 | char xp, xn; /* threshold for x axis */ |
13 | char yp, yn; /* threshold for y axis */ |
14 | }; |
15 | |
16 | #endif /* _AS5011_H */ |
17 |