diff options
Diffstat (limited to 'target/linux/rdc/files-2.6.32/arch/x86/include/asm/rdc321x_gpio.h')
-rw-r--r-- | target/linux/rdc/files-2.6.32/arch/x86/include/asm/rdc321x_gpio.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/rdc/files-2.6.32/arch/x86/include/asm/rdc321x_gpio.h b/target/linux/rdc/files-2.6.32/arch/x86/include/asm/rdc321x_gpio.h new file mode 100644 index 0000000000..adb75aff27 --- /dev/null +++ b/target/linux/rdc/files-2.6.32/arch/x86/include/asm/rdc321x_gpio.h @@ -0,0 +1,16 @@ +#ifndef _ASM_X86_MACH_RDC321X_GPIO_H +#define _ASM_X86_MACH_RDC321X_GPIO_H + +#include <linux/kernel.h> + +#define gpio_to_irq(gpio) NULL + +#define gpio_get_value __gpio_get_value +#define gpio_set_value __gpio_set_value + +#define gpio_cansleep __gpio_cansleep + +/* For cansleep */ +#include <asm-generic/gpio.h> + +#endif /* _ASM_X86_MACH_RDC321X_GPIO_H */ |