summaryrefslogtreecommitdiffstats
path: root/arch/mips/ath79
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2013-06-17 07:42:11 +0000
committerRalf Baechle <ralf@linux-mips.org>2013-06-21 18:07:02 +0200
commit970cb7b963885afff070b315d85a56808bdf2788 (patch)
tree33e5faff19fe85e0d16ce4aa18c5a9a6ce2681b3 /arch/mips/ath79
parent9b1f812acb607bcdfafd8cacec89f9b736e2be0c (diff)
downloadop-kernel-dev-970cb7b963885afff070b315d85a56808bdf2788.zip
op-kernel-dev-970cb7b963885afff070b315d85a56808bdf2788.tar.gz
MIPS: ath79: Fix argument for the ap136_pc_init function
ap136_pci_init expects a u8 pointer as an argument. Fixes the following build problem on a randconfig: arch/mips/ath79/mach-ap136.c:151:2: error: too many arguments to function 'ap136_pci_init' Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5476/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ath79')
-rw-r--r--arch/mips/ath79/mach-ap136.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/ath79/mach-ap136.c b/arch/mips/ath79/mach-ap136.c
index 479dd4b..07eac58 100644
--- a/arch/mips/ath79/mach-ap136.c
+++ b/arch/mips/ath79/mach-ap136.c
@@ -132,7 +132,7 @@ static void __init ap136_pci_init(u8 *eeprom)
ath79_register_pci();
}
#else
-static inline void ap136_pci_init(void) {}
+static inline void ap136_pci_init(u8 *eeprom) {}
#endif /* CONFIG_PCI */
static void __init ap136_setup(void)
OpenPOWER on IntegriCloud