diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-12-06 14:14:06 +0000 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-12-06 14:14:06 +0000 |
commit | e6b6edf267c6d157d22c7d409182854bf0c110a0 (patch) | |
tree | aa292cb560ee807f0e658c5e56dc95008beb94f5 /arch/arm/mach-at91/include/mach/system_rev.h | |
parent | 5611cc4572e889b62a7b4c72a413536bf6a9c416 (diff) | |
parent | 0e934e22f3fabb98c41737e2e30bd9db2668e935 (diff) |
Merge branch 'at91-fixes' of git://github.com/at91linux/linux-at91 into fixes
Diffstat (limited to 'arch/arm/mach-at91/include/mach/system_rev.h')
-rw-r--r-- | arch/arm/mach-at91/include/mach/system_rev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/include/mach/system_rev.h b/arch/arm/mach-at91/include/mach/system_rev.h index 8f4866045b4..ec164a4124c 100644 --- 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__ */ |