From: Ralf Baechle Date: Thu, 6 Sep 2012 08:51:29 +0000 (+0200) Subject: MIPS: RB532: Fix build of prom code. X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~15^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66315e15cd937cec2eae5d450ddc787907d29854;p=pandora-kernel.git MIPS: RB532: Fix build of prom code. CC arch/mips/rb532/prom.o /home/ralf/src/linux/linux-mips/arch/mips/rb532/prom.c: In function ‘prom_setup_cmdline’: /home/ralf/src/linux/linux-mips/arch/mips/rb532/prom.c:75:22: error: variable ‘prom_envp’ set but not used [-Werror=unused-but-set-variable] 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