[U-Boot] [PATCH 21/56] board/kup/common/pcmcia.c: Fix GCC 4.6 compiler warnings

Wolfgang Denk wd at denx.de
Mon Nov 7 22:12:46 CET 2011


Dear Wolfgang Denk,

In message <1320458160-23136-22-git-send-email-wd at denx.de> you wrote:
> Fix:
> ../common/pcmcia.c: In function 'pcmcia_hardware_enable':
> ../common/pcmcia.c:23:20: warning: variable 'immap' set but not used
> [-Wunused-but-set-variable]
> ../common/pcmcia.c: In function 'pcmcia_voltage_set':
> ../common/pcmcia.c:152:20: warning: variable 'immap' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Cc: Klaus Heydeck <heydeck at kieback-peter.de>
> ---
>  board/kup/common/pcmcia.c |   42 +++++++++++++++++++-----------------------
>  1 files changed, 19 insertions(+), 23 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I'd rather be led to hell than managed to heaven.


More information about the U-Boot mailing list