• Wolfgang Denk's avatar
    board/netta/pcmcia.c: Fix GCC 4.6 build warnings · 964f0df3
    Wolfgang Denk authored
    Fix:
    pcmcia.c: In function 'cfg_ports':
    pcmcia.c:151:21: warning: variable 'cp' set but not used
    [-Wunused-but-set-variable]
    pcmcia.c:150:20: warning: variable 'immap' set but not used
    [-Wunused-but-set-variable]
    pcmcia.c: In function 'pcmcia_hardware_enable':
    pcmcia.c:179:25: warning: variable 'sysp' set but not used
    [-Wunused-but-set-variable]
    pcmcia.c:177:21: warning: variable 'cp' set but not used
    [-Wunused-but-set-variable]
    pcmcia.c:176:20: warning: variable 'immap' set but not used
    [-Wunused-but-set-variable]
    pcmcia.c: In function 'pcmcia_hardware_disable':
    pcmcia.c:271:25: warning: variable 'pcmp' set but not used
    [-Wunused-but-set-variable]
    pcmcia.c:270:20: warning: variable 'immap' set but not used
    [-Wunused-but-set-variable]
    pcmcia.c: In function 'pcmcia_voltage_set':
    pcmcia.c:303:9: warning: variable 'sreg' set but not used
    [-Wunused-but-set-variable]
    pcmcia.c:300:21: warning: variable 'cp' set but not used
    [-Wunused-but-set-variable]
    Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
    964f0df3
pcmcia.c 7.82 KB