From: Stefan Hengelein Date: Mon, 20 Oct 2014 13:11:39 +0000 (+0200) Subject: MIPS: ath79: Fix compilation error when CONFIG_PCI is disabled X-Git-Tag: fixes-against-v3.18-rc2~6^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44da7623e307bba3eefd7eaf11e605e15a923d72;p=pandora-kernel.git MIPS: ath79: Fix compilation error when CONFIG_PCI is disabled When CONFIG_PCI is disabled, 'db120_pci_init()' had a different signature than when was enabled. Therefore, compilation failed when CONFIG_PCI was not present. arch/mips/ath79/mach-db120.c:132: error: too many arguments to function 'db120_pci_init' This error was found with vampyr. Signed-off-by: Stefan Hengelein Reviewed-by: Markos Chandras Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Cc: geert@linux-m68k.org Patchwork: https://patchwork.linux-mips.org/patch/8119/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed