X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fcpc45%2Fcpc45.c;h=79eb47317621dfa3f2a39f7246822e8a36b7d717;hb=0f855a1f056a8c22116a2103a3900cbfb669df0b;hp=51b0085911b9edfb8574b4997044867aca3c93ac;hpb=e2ffd59b4d93c9149de1caaa087371b0cfc512c9;p=oweals%2Fu-boot.git 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)