summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-05-12 16:32:32 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-05-12 16:32:32 +0200
commit319b9a54670c9adf4bb84a7dacd2b031350f4066 (patch)
treefc00fd1ac5c46686d36a9d798f85f38d33d4e35b
parent8cba090c5824c95f337d44a0465803c882ded6f6 (diff)
downloadu-boot-imx-319b9a54670c9adf4bb84a7dacd2b031350f4066.zip
u-boot-imx-319b9a54670c9adf4bb84a7dacd2b031350f4066.tar.gz
u-boot-imx-319b9a54670c9adf4bb84a7dacd2b031350f4066.tar.bz2
Cleanup compile warning.
-rw-r--r--common/cmd_pcmcia.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/cmd_pcmcia.c b/common/cmd_pcmcia.c
index 16d9d14..46b703d 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;