]> git.sur5r.net Git - u-boot/commitdiff
Cleanup compile warning.
authorWolfgang Denk <wd@pollux.denx.de>
Fri, 12 May 2006 14:32:32 +0000 (16:32 +0200)
committerWolfgang Denk <wd@pollux.denx.de>
Fri, 12 May 2006 14:32:32 +0000 (16:32 +0200)
common/cmd_pcmcia.c

index 16d9d140945abe9fb97f1285aef1d247670ffa94..46b703d163c49ce34e22125d4c5e13dd752298a0 100644 (file)
@@ -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;