ab8500-gpio.h 362 B

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