projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cba090
)
Cleanup compile warning.
author
Wolfgang Denk
<wd@pollux.denx.de>
Fri, 12 May 2006 14:32:32 +0000
(16:32 +0200)
committer
Wolfgang Denk
<wd@pollux.denx.de>
Fri, 12 May 2006 14:32:32 +0000
(16:32 +0200)
common/cmd_pcmcia.c
patch
|
blob
|
history
diff --git
a/common/cmd_pcmcia.c
b/common/cmd_pcmcia.c
index
16d9d14
..
46b703d
100644
(file)
--- 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;