• Ralf Baechle's avatar
    MIPS: IP22: Fix GCC 4.6.0 build error · 3be1afc8
    Ralf Baechle authored
      CC      arch/mips/sgi-ip22/ip22-platform.o
    arch/mips/sgi-ip22/ip22-platform.c: In function 'sgiseeq_devinit':
    arch/mips/sgi-ip22/ip22-platform.c:135:15: error: variable 'tmp' set but not used [-Werror=unused-but-set-variable]
    cc1: all warnings being treated as errors
    
    While at it rename the variable to pbdma for readability; there is a
    local variable tmp of different type being used in two nested blocks.
    Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    3be1afc8
ip22-platform.c 4.55 KB