swh:1:snp:c2847dfd741eae21606027cf29250d1ebcd63fb4
Raw File
Tip revision: 2c53b436a30867eb6b47dd7bab23ba638d1fb0d2 authored by Linus Torvalds on 13 June 2011, 22:29:59 UTC
Linux 3.0-rc3
Tip revision: 2c53b43
pl061.h
#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 */
};
back to top