mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 08:58:07 +00:00
367d6accea
pl061.h is using u8 type. including <linux/types.h> in pl061.h to avoid warning. Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Acked-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
17 lines
389 B
C
17 lines
389 B
C
#include <linux/types.h>
|
|
|
|
/* platform data for the PL061 GPIO driver */
|
|
|
|
struct pl061_platform_data {
|
|
/* number of the first GPIO */
|
|
unsigned gpio_base;
|
|
|
|
/* number of the first IRQ.
|
|
* If the IRQ functionality in not desired this must be set to
|
|
* (unsigned) -1.
|
|
*/
|
|
unsigned irq_base;
|
|
|
|
u8 directions; /* startup directions, 1: out, 0: in */
|
|
u8 values; /* startup values */
|
|
};
|