ARM: remove include of mach/gpio.h for gpiolib users
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>
This commit is contained in:
parent
1068e0a545
commit
8c1180c3ed
|
@ -1,7 +1,10 @@
|
|||
#ifndef _ARCH_ARM_GPIO_H
|
||||
#define _ARCH_ARM_GPIO_H
|
||||
|
||||
/* not all ARM platforms necessarily support this API ... */
|
||||
#ifndef CONFIG_GPIOLIB
|
||||
#include <mach/gpio.h>
|
||||
#else
|
||||
#include <asm-generic/gpio.h>
|
||||
#endif
|
||||
|
||||
#endif /* _ARCH_ARM_GPIO_H */
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#include <asm-generic/gpio.h>
|
|
@ -1,3 +0,0 @@
|
|||
#include <asm-generic/gpio.h>
|
||||
|
||||
#define CLPS711X_GPIO(prt,bit) ((prt) * 8 + (bit))
|
|
@ -1 +0,0 @@
|
|||
#include <asm-generic/gpio.h>
|
|
@ -1,6 +0,0 @@
|
|||
#ifndef __ASM_ARCH_GPIO_H
|
||||
#define __ASM_ARCH_GPIO_H
|
||||
|
||||
#include <asm-generic/gpio.h>
|
||||
|
||||
#endif /* __ASM_ARCH_GPIO_H */
|
|
@ -1,6 +0,0 @@
|
|||
#ifndef __ASM_ARCH_GPIO_H
|
||||
#define __ASM_ARCH_GPIO_H
|
||||
|
||||
#include <asm-generic/gpio.h>
|
||||
|
||||
#endif /* __ASM_ARCH_GPIO_H */
|
|
@ -1 +0,0 @@
|
|||
#include <asm-generic/gpio.h>
|
|
@ -1 +0,0 @@
|
|||
#include <asm-generic/gpio.h>
|
Loading…
Reference in New Issue