diff options
author | Wolfgang Denk <wd@denx.de> | 2007-07-06 10:38:28 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-07-06 10:38:28 +0200 |
commit | dcc0264878406d52b879d2e5a63d3d793371434e (patch) | |
tree | 3a2d693997fad34fd049a56518dbb44195342392 /fs/jffs2/jffs2_1pass.c | |
parent | 6b0a174a1e6f55e1f5a1fbb223cdad7645a4646e (diff) | |
parent | e4dbe1b215f5c6c462e76909d240bd96472b84de (diff) | |
download | u-boot-imx-dcc0264878406d52b879d2e5a63d3d793371434e.zip u-boot-imx-dcc0264878406d52b879d2e5a63d3d793371434e.tar.gz u-boot-imx-dcc0264878406d52b879d2e5a63d3d793371434e.tar.bz2 |
Merge with git://www.denx.de/git/u-boot-testing
Diffstat (limited to 'fs/jffs2/jffs2_1pass.c')
-rw-r--r-- | fs/jffs2/jffs2_1pass.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/fs/jffs2/jffs2_1pass.c b/fs/jffs2/jffs2_1pass.c index 6a7d7f7..af2a8e2 100644 --- a/fs/jffs2/jffs2_1pass.c +++ b/fs/jffs2/jffs2_1pass.c @@ -143,7 +143,8 @@ /* keeps pointer to currentlu processed partition */ static struct part_info *current_part; -#if (defined(CONFIG_JFFS2_NAND) && ((CONFIG_COMMANDS & CFG_CMD_NAND) || defined(CONFIG_CMD_NAND)) +#if (defined(CONFIG_JFFS2_NAND) && \ + ((CONFIG_COMMANDS & CFG_CMD_NAND) || defined(CONFIG_CMD_NAND)) ) #if defined(CFG_NAND_LEGACY) #include <linux/mtd/nand_legacy.h> #else @@ -334,7 +335,8 @@ static inline void *get_node_mem(u32 off) return get_node_mem_nor(off); #endif -#if defined(CONFIG_JFFS2_NAND) && ((CONFIG_COMMANDS & CFG_CMD_NAND) || defined(CONFIG_CMD_NAND) +#if defined(CONFIG_JFFS2_NAND) && \ + (CONFIG_COMMANDS & CFG_CMD_NAND) || defined(CONFIG_CMD_NAND) if (id->type == MTD_DEV_TYPE_NAND) return get_node_mem_nand(off); #endif @@ -345,7 +347,8 @@ static inline void *get_node_mem(u32 off) static inline void put_fl_mem(void *buf) { -#if defined(CONFIG_JFFS2_NAND) && ((CONFIG_COMMANDS & CFG_CMD_NAND) || defined(CONFIG_CMD_NAND) +#if defined(CONFIG_JFFS2_NAND) && \ + (CONFIG_COMMANDS & CFG_CMD_NAND) || defined(CONFIG_CMD_NAND) struct mtdids *id = current_part->dev->id; if (id->type == MTD_DEV_TYPE_NAND) |