8c1180c3ed
gpiolib user have nothing to define in their machine specific gpio.h, so do not include it. The only thing they could define would be ARCH_NR_GPIOS, but currently no architecture defines it. Should an architecure feel the need to do it this would be a good opportunity to get rid of this limitation. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
11 lines
171 B
C
11 lines
171 B
C
#ifndef _ARCH_ARM_GPIO_H
|
|
#define _ARCH_ARM_GPIO_H
|
|
|
|
#ifndef CONFIG_GPIOLIB
|
|
#include <mach/gpio.h>
|
|
#else
|
|
#include <asm-generic/gpio.h>
|
|
#endif
|
|
|
|
#endif /* _ARCH_ARM_GPIO_H */
|