• Ralf Baechle's avatar
    MIPS: wrppmc: Fix build of PCI code. · 5613d482
    Ralf Baechle authored
      CC      arch/mips/wrppmc/pci.o
    /home/ralf/src/linux/linux-mips/arch/mips/wrppmc/pci.c: In function ‘gt64120_pci_init’:
    /home/ralf/src/linux/linux-mips/arch/mips/wrppmc/pci.c:41:6: error: variable ‘tmp’ set but not used [-Werror=unused-but-set-variable]
    cc1: all warnings being treated as errors
    
    This warning exists in gcc 4.6.0 and newer.  Kernels 2.6.40 and newer use
    -Wunused-but-set-variable to suppress it.
    Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    5613d482
pci.c 1.29 KB