From: Wolfgang Denk Date: Fri, 12 May 2006 14:32:32 +0000 (+0200) Subject: Cleanup compile warning. X-Git-Tag: v2025.01-rc5-pxa1908~23035 X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-logo.png?a=commitdiff_plain;h=319b9a54670c9adf4bb84a7dacd2b031350f4066;p=u-boot.git 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;