| Bibek Basu | 0cb3fcd | 2011-02-09 11:02:35 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright ST-Ericsson 2010. | ||||
| 3 | * | ||||
| 4 | * Author: Bibek Basu <bibek.basu@stericsson.com> | ||||
| 5 | * Licensed under GPLv2. | ||||
| 6 | */ | ||||
| 7 | |||||
| 8 | #ifndef _AB8500_GPIO_H | ||||
| 9 | #define _AB8500_GPIO_H | ||||
| 10 | |||||
| 11 | /* | ||||
| 12 | * Platform data to register a block: only the initial gpio/irq number. | ||||
| 13 | */ | ||||
| 14 | |||||
| 15 | struct ab8500_gpio_platform_data { | ||||
| 16 | int gpio_base; | ||||
| 17 | u32 irq_base; | ||||
| 18 | u8 config_reg[7]; | ||||
| 19 | }; | ||||
| 20 | |||||
| 21 | #endif /* _AB8500_GPIO_H */ | ||||