Ver Fonte

Cleanup compile warning.

Wolfgang Denk há 19 anos atrás
pai
commit
319b9a5467
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      common/cmd_pcmcia.c

+ 2 - 0
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;