From: Markos Chandras Date: Wed, 14 Aug 2013 08:57:16 +0000 (+0100) Subject: MIPS: TXx9: Fix build error if CONFIG_TOSHIBA_JMR3927 is not selected X-Git-Tag: v3.12-rc1~21^2~2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8acd40d38a7a2a82fb2e2fc59e5035643bb44d1;p=pandora-kernel.git MIPS: TXx9: Fix build error if CONFIG_TOSHIBA_JMR3927 is not selected The jmr3927_vec txx9_board_vec struct is defined in txx9/jmr3927/setup.c which is only built if CONFIG_TOSHIBA_JMR3927 is selected. This patch fixes the following build problem: arch/mips/txx9/generic/setup.c: In function 'select_board': arch/mips/txx9/generic/setup.c:354:20: error: 'jmr3927_vec' undeclared (first use in this function) arch/mips/txx9/generic/setup.c:354:20: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [arch/mips/txx9/generic/setup.o] Error 1 Signed-off-by: Markos Chandras Acked-by: Steven J. Hill Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5713/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed