fs/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
authorJon Loeliger <jdl@jdl.com>
Tue, 12 Jun 2007 00:02:20 +0000 (19:02 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 3 Jul 2007 22:23:12 +0000 (00:23 +0200)
commit4e109ae98294a5ca7ff848b7652c7bfd4023a94a
tree80dcbdc72dba03e92ffa147d4e4245a65d9af5d2
parentd5be43de93ff905c465e509d45a3164ef48d26e7
fs/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).

This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
23 files changed:
fs/cramfs/cramfs.c
fs/cramfs/uncompress.c
fs/ext2/dev.c
fs/ext2/ext2fs.c
fs/fat/fat.c [changed mode: 0755->0644]
fs/fat/file.c
fs/fdos/dev.c
fs/fdos/fat.c
fs/fdos/fdos.c
fs/fdos/fs.c
fs/fdos/subdir.c
fs/fdos/vfat.c
fs/jffs2/compr_lzari.c
fs/jffs2/compr_lzo.c
fs/jffs2/compr_rtime.c
fs/jffs2/compr_rubin.c
fs/jffs2/compr_zlib.c
fs/jffs2/jffs2_1pass.c
fs/jffs2/jffs2_nand_1pass.c
fs/jffs2/mini_inflate.c
fs/reiserfs/dev.c
fs/reiserfs/mode_string.c
fs/reiserfs/reiserfs.c