gpio.h 620 B

12345678910111213141516171819202122
  1. /* arch/arm/mach-s3c6400/include/mach/gpio.h
  2. *
  3. * Copyright 2008 Openmoko, Inc.
  4. * Copyright 2008 Simtec Electronics
  5. * http://armlinux.simtec.co.uk/
  6. * Ben Dooks <ben@simtec.co.uk>
  7. *
  8. * S3C6400 - GPIO lib support
  9. *
  10. * This program is free software; you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License version 2 as
  12. * published by the Free Software Foundation.
  13. */
  14. #define gpio_get_value __gpio_get_value
  15. #define gpio_set_value __gpio_set_value
  16. #define gpio_cansleep __gpio_cansleep
  17. #define gpio_to_irq __gpio_to_irq
  18. #define ARCH_NR_GPIOS 188
  19. #include <asm-generic/gpio.h>