From: Ralf Baechle Date: Thu, 6 Sep 2012 08:02:40 +0000 (+0200) Subject: MIPS: IP22/IP28: Fix build of EISA code. X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~15^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2f711d485f07b8592cf7579a89ee8dc14bf3b7c;p=pandora-kernel.git MIPS: IP22/IP28: Fix build of EISA code. CC arch/mips/sgi-ip22/ip22-eisa.o /home/ralf/src/linux/linux-mips/arch/mips/sgi-ip22/ip22-eisa.c: In function ‘ip22_eisa_intr’: /home/ralf/src/linux/linux-mips/arch/mips/sgi-ip22/ip22-eisa.c:77:11: error: variable ‘dma2’ set but not used [-Werror=unused-but-set-variable] /home/ralf/src/linux/linux-mips/arch/mips/sgi-ip22/ip22-eisa.c:77:5: error: variable ‘dma1’ 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