diff options
author | Jon Loeliger <jdl@jdl.com> | 2007-06-11 19:02:10 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-07-04 00:23:11 +0200 |
commit | d5be43de93ff905c465e509d45a3164ef48d26e7 (patch) | |
tree | 8adf5e095118afadc4b2f770daad386df1da3f4e /drivers/rtl8169.c | |
parent | b453960d4fdb87b3970d96119b90df2ed024fc4a (diff) |
drivers/: 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>
Diffstat (limited to 'drivers/rtl8169.c')
-rw-r--r-- | drivers/rtl8169.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtl8169.c b/drivers/rtl8169.c index 3393ba890a..1810850f5b 100644 --- a/drivers/rtl8169.c +++ b/drivers/rtl8169.c @@ -55,7 +55,7 @@ #include <asm/io.h> #include <pci.h> -#if (CONFIG_COMMANDS & CFG_CMD_NET) && defined(CONFIG_NET_MULTI) && \ +#if ((CONFIG_COMMANDS & CFG_CMD_NET) || defined(CONFIG_CMD_NET)) && defined(CONFIG_NET_MULTI) && \ defined(CONFIG_RTL8169) #undef DEBUG_RTL8169 |