aboutsummaryrefslogtreecommitdiffstats
path: root/common/cmd_pci.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2007-08-07 22:12:05 +0200
committerMichal Simek <monstr@monstr.eu>2007-08-07 22:12:05 +0200
commit85fad497b3c2e99fa48d18351d2898cf8cdbe898 (patch)
tree3c53a3ca56eaba5070a5fbcbbe4718d8ea4d082a /common/cmd_pci.c
parent706714d97a0d08d59eda4de2268c39f504688329 (diff)
parentb23b547597ff2375ad13a9ab04e5257a3ad76c99 (diff)
downloadu-boot-midas-85fad497b3c2e99fa48d18351d2898cf8cdbe898.tar.gz
u-boot-midas-85fad497b3c2e99fa48d18351d2898cf8cdbe898.tar.bz2
u-boot-midas-85fad497b3c2e99fa48d18351d2898cf8cdbe898.zip
Merge git://www.denx.de/git/u-boot
Diffstat (limited to 'common/cmd_pci.c')
-rw-r--r--common/cmd_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_pci.c b/common/cmd_pci.c
index 45085462fc..8be6da93f9 100644
--- a/common/cmd_pci.c
+++ b/common/cmd_pci.c
@@ -38,7 +38,7 @@
#include <asm/io.h>
#include <pci.h>
-#if (CONFIG_COMMANDS & CFG_CMD_PCI)
+#if defined(CONFIG_CMD_PCI)
extern int cmd_get_data_size(char* arg, int default_size);
@@ -565,6 +565,6 @@ U_BOOT_CMD(
" - write to CFG address\n"
);
-#endif /* (CONFIG_COMMANDS & CFG_CMD_PCI) */
+#endif
#endif /* CONFIG_PCI */