projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM: OMAP: Add some extra #defines for Amstrad Delta
[powerpc.git]
/
include
/
asm-arm
/
arch-omap
/
gpio.h
diff --git
a/include/asm-arm/arch-omap/gpio.h
b/include/asm-arm/arch-omap/gpio.h
index
74cb2b9
..
f486b72
100644
(file)
--- a/
include/asm-arm/arch-omap/gpio.h
+++ b/
include/asm-arm/arch-omap/gpio.h
@@
-26,7
+26,7
@@
#ifndef __ASM_ARCH_OMAP_GPIO_H
#define __ASM_ARCH_OMAP_GPIO_H
#ifndef __ASM_ARCH_OMAP_GPIO_H
#define __ASM_ARCH_OMAP_GPIO_H
-#include <asm/
arch/
hardware.h>
+#include <asm/hardware.h>
#include <asm/arch/irqs.h>
#include <asm/io.h>
#include <asm/arch/irqs.h>
#include <asm/io.h>
@@
-67,7
+67,7
@@
#define OMAP_GPIO_IRQ(nr) (OMAP_GPIO_IS_MPUIO(nr) ? \
IH_MPUIO_BASE + ((nr) & 0x0f) : \
#define OMAP_GPIO_IRQ(nr) (OMAP_GPIO_IS_MPUIO(nr) ? \
IH_MPUIO_BASE + ((nr) & 0x0f) : \
- IH_GPIO_BASE + (
(nr) & 0x3f
))
+ IH_GPIO_BASE + (
nr
))
extern int omap_gpio_init(void); /* Call from board init only */
extern int omap_request_gpio(int gpio);
extern int omap_gpio_init(void); /* Call from board init only */
extern int omap_request_gpio(int gpio);