x86, RDC321x: remove gpio.h complications
Remove the include/asm-x86/gpio.h specials, just use the generic version. Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
1f972768a1
commit
071375bc76
|
@ -16,10 +16,6 @@
|
||||||
#ifndef _ASM_I386_GPIO_H
|
#ifndef _ASM_I386_GPIO_H
|
||||||
#define _ASM_I386_GPIO_H
|
#define _ASM_I386_GPIO_H
|
||||||
|
|
||||||
#ifdef CONFIG_X86_RDC321X
|
|
||||||
#include <gpio.h>
|
|
||||||
#else /* CONFIG_X86_RDC321X */
|
|
||||||
|
|
||||||
#include <asm-generic/gpio.h>
|
#include <asm-generic/gpio.h>
|
||||||
|
|
||||||
#ifdef CONFIG_GPIOLIB
|
#ifdef CONFIG_GPIOLIB
|
||||||
|
@ -57,6 +53,4 @@ static inline int irq_to_gpio(unsigned int irq)
|
||||||
|
|
||||||
#endif /* CONFIG_GPIOLIB */
|
#endif /* CONFIG_GPIOLIB */
|
||||||
|
|
||||||
#endif /* CONFIG_X86_RDC321X */
|
|
||||||
|
|
||||||
#endif /* _ASM_I386_GPIO_H */
|
#endif /* _ASM_I386_GPIO_H */
|
||||||
|
|
Loading…
Reference in New Issue