summaryrefslogtreecommitdiff
path: root/board/cpc45/cpc45.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/cpc45/cpc45.c')
-rw-r--r--board/cpc45/cpc45.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/cpc45/cpc45.c b/board/cpc45/cpc45.c
index 51b0085911..79eb473176 100644
--- a/board/cpc45/cpc45.c
+++ b/board/cpc45/cpc45.c
@@ -240,7 +240,7 @@ int sysControlDisplay (int digit, /* number of digit 0..7 */
return (0);
}
-#if (CONFIG_COMMANDS & CFG_CMD_PCMCIA)
+#if defined(CONFIG_CMD_PCMCIA)
#ifdef CFG_PCMCIA_MEM_ADDR
volatile unsigned char *pcmcia_mem = (unsigned char*)CFG_PCMCIA_MEM_ADDR;
@@ -257,7 +257,7 @@ int pcmcia_init(void)
return rc;
}
-#endif /* CFG_CMD_PCMCIA */
+#endif
# ifdef CONFIG_IDE_LED
void ide_led (uchar led, uchar status)