]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
MIPS: IP27: Fix build error if CONFIG_PCI=y and CONFIG_NUMA disabled.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 13 Jun 2013 12:34:50 +0000 (14:34 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 21 Jun 2013 16:07:01 +0000 (18:07 +0200)
commit4f675e8a6b338ff6ac510595649c647d4888576e
tree22dd9160e7636d657a9d9057b1bd147ee1a05d42
parent73ec78b06ecadb2ce67aae2509e8683ad8b92d14
MIPS: IP27: Fix build error if CONFIG_PCI=y and CONFIG_NUMA disabled.

Then <asm-generic/topology.h> will define cpp macro as default definition
for pcibus_to_node resulting in:

  CC      arch/mips/pci/pci-ip27.o
arch/mips/pci/pci-ip27.c:220:7: error: expected identifier or ‘(’ before ‘void’
arch/mips/pci/pci-ip27.c:220:12: error: expected ‘)’ before ‘(’ token
make[1]: *** [arch/mips/pci/pci-ip27.o] Error 1

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/pci-ip27.c