From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- .../include/linux/mfd/abx500/ab8500-gpio.h | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 ANDROID_3.4.5/include/linux/mfd/abx500/ab8500-gpio.h (limited to 'ANDROID_3.4.5/include/linux/mfd/abx500/ab8500-gpio.h') diff --git a/ANDROID_3.4.5/include/linux/mfd/abx500/ab8500-gpio.h b/ANDROID_3.4.5/include/linux/mfd/abx500/ab8500-gpio.h new file mode 100644 index 00000000..2387c207 --- /dev/null +++ b/ANDROID_3.4.5/include/linux/mfd/abx500/ab8500-gpio.h @@ -0,0 +1,23 @@ +/* + * Copyright ST-Ericsson 2010. + * + * Author: Bibek Basu + * Licensed under GPLv2. + */ + +#ifndef _AB8500_GPIO_H +#define _AB8500_GPIO_H + +/* + * Platform data to register a block: only the initial gpio/irq number. + * Array sizes are large enough to contain all AB8500 and AB9540 GPIO + * registers. + */ + +struct ab8500_gpio_platform_data { + int gpio_base; + u32 irq_base; + u8 config_reg[8]; +}; + +#endif /* _AB8500_GPIO_H */ -- cgit