From: Markos Chandras Date: Thu, 4 Jul 2013 08:38:29 +0000 (+0100) Subject: MIPS: Loongson: Hide the pci code behind CONFIG_PCI X-Git-Tag: v3.12-rc1~21^2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8510376e59adffb4fb890d936a59d6f2e42b86b3;p=pandora-kernel.git MIPS: Loongson: Hide the pci code behind CONFIG_PCI The pci.c code depends on symbols which are only visible if CONFIG_PCI is selected. Also fixes the following problem on loongson allnoconfig: arch/mips/built-in.o: In function `pcibios_init': pci.c:(.init.text+0x528): undefined reference to `register_pci_controller' arch/mips/built-in.o:(.data+0xc): undefined reference to `loongson_pci_ops' Signed-off-by: Markos Chandras Acked-by: Steven J. Hill Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5584/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed