git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: at91: fix NAND bus width decoding from system_rev
[pandora-kernel.git]
/
arch
/
arm
/
mach-at91
/
include
/
mach
/
system_rev.h
diff --git
a/arch/arm/mach-at91/include/mach/system_rev.h
b/arch/arm/mach-at91/include/mach/system_rev.h
index
8f48660
..
ec164a4
100644
(file)
--- a/
arch/arm/mach-at91/include/mach/system_rev.h
+++ b/
arch/arm/mach-at91/include/mach/system_rev.h
@@
-19,7
+19,7
@@
#define BOARD_HAVE_NAND_16BIT (1 << 31)
static inline int board_have_nand_16bit(void)
{
- return
system_rev & BOARD_HAVE_NAND_16BIT
;
+ return
(system_rev & BOARD_HAVE_NAND_16BIT) ? 1 : 0
;
}
#endif /* __ARCH_SYSTEM_REV_H__ */