From 319b9a54670c9adf4bb84a7dacd2b031350f4066 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Fri, 12 May 2006 16:32:32 +0200 Subject: [PATCH] Cleanup compile warning. --- common/cmd_pcmcia.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.30.2