From: Ralf Baechle Date: Thu, 6 Sep 2012 09:03:03 +0000 (+0200) Subject: MIPS: wrppmc: Fix build of PCI code. X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~15^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5613d482394e35e363daf51f55971d6cf88d3d7e;p=pandora-kernel.git MIPS: wrppmc: Fix build of PCI code. 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: Ralf Baechle --- Reading git-diff-tree failed