]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: PNX833x: PNX8335_PCI_ETHERNET_INT depends on CONFIG_SOC_PNX8335
authorMarkos Chandras <markos.chandras@imgtec.com>
Tue, 9 Jul 2013 08:21:35 +0000 (09:21 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 5 Aug 2013 11:34:22 +0000 (13:34 +0200)
commitdefbe6ce162c91be2cfb34fb2e65a0187f4fa967
tree9825333d3cde0af4722f19dd861485bab2de8bb7
parentd33c3cb0da597300ed26282fd9cb264be06085c0
MIPS: PNX833x: PNX8335_PCI_ETHERNET_INT depends on CONFIG_SOC_PNX8335

The PNX8335_PCI_ETHERNET_INT macro is defined in
arch/mips/include/asm/mach-pnx833x/irq-mapping.h
only if CONFIG_SOC_PNX8335 is selected.

Fixes the following randconfig problem:
arch/mips/pnx833x/common/platform.c:210:12:
error: 'PNX8335_PIC_ETHERNET_INT' undeclared here
(not in a function)

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Acked-by: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5585/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pnx833x/common/platform.c