[U-Boot] [PATCH 20/56] board/icu862/pcmcia.c: Fix GCC 4.6 build warning

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


Dear Wolfgang Denk,

In message <1320458160-23136-21-git-send-email-wd at denx.de> you wrote:
> Fix:
> pcmcia.c: In function 'cfg_port_B':
> pcmcia.c:21:20: warning: variable 'immap' set but not used
> [-Wunused-but-set-variable]
> pcmcia.c: In function 'pcmcia_hardware_enable':
> pcmcia.c:50:20: warning: variable 'immap' set but not used
> [-Wunused-but-set-variable]
> pcmcia.c: In function 'pcmcia_voltage_set':
> pcmcia.c:191:20: warning: variable 'immap' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
>  board/icu862/pcmcia.c |   14 ++++----------
>  1 files changed, 4 insertions(+), 10 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
When properly administered, vacations do not  diminish  productivity:
for every week you're away and get nothing done, there's another when
your boss is away and you get twice as much done.  -- Daniel B. Luten


More information about the U-Boot mailing list