]> git.karo-electronics.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>
Tue, 18 Jun 2013 19:26:55 +0000 (21:26 +0200)
commit3a05a17efb8436c29ca6301de2089c76de6402d9
tree35d2c4e3ce873d60857ee1ff387e134e67b14c46
parentf13bbdf996d4cf46fe65a60668dad724d139ca43
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