OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50165d8
)
[PATCH] Fix broken IXP4xx GPIO macro
author
Deepak Saxena
<dsaxena@plexity.net>
Tue, 4 Oct 2005 23:32:38 +0000
(16:32 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 4 Oct 2005 23:41:48 +0000
(16:41 -0700)
Macro ended up backwards during one of cleanups. Found by Alessandro Zummo.
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-arm/arch-ixp4xx/platform.h
patch
|
blob
|
history
diff --git
a/include/asm-arm/arch-ixp4xx/platform.h
b/include/asm-arm/arch-ixp4xx/platform.h
index
d13ee7f
..
f14ed63
100644
(file)
--- a/
include/asm-arm/arch-ixp4xx/platform.h
+++ b/
include/asm-arm/arch-ixp4xx/platform.h
@@
-93,7
+93,7
@@
extern struct pci_bus *ixp4xx_scan_bus(int nr, struct pci_sys_data *sys);
static inline void gpio_line_config(u8 line, u32 direction)
{
- if (direction == IXP4XX_GPIO_
OUT
)
+ if (direction == IXP4XX_GPIO_
IN
)
*IXP4XX_GPIO_GPOER |= (1 << line);
else
*IXP4XX_GPIO_GPOER &= ~(1 << line);