From: Wolfgang Denk Date: Fri, 12 May 2006 14:32:32 +0000 (+0200) Subject: Cleanup compile warning. X-Git-Tag: LABEL_2006_05_19_1133~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=319b9a54670c9adf4bb84a7dacd2b031350f4066;p=u-boot Cleanup compile warning. --- diff --git a/common/cmd_pcmcia.c b/common/cmd_pcmcia.c index 16d9d14094..46b703d163 100644 --- a/common/cmd_pcmcia.c +++ b/common/cmd_pcmcia.c @@ -1129,8 +1129,10 @@ static int hardware_disable(int slot) static int voltage_set(int slot, int vcc, int vpp) { +#ifdef DEBUG volatile pcmconf8xx_t *pcmp = (pcmconf8xx_t *)(&(((immap_t *)CFG_IMMR)->im_pcmcia)); +#endif volatile unsigned char *powerctl = (volatile unsigned char *)PCMCIA_CTRL; unsigned long reg;