MIPS: ath79: Fix argument for the ap136_pc_init function
authorMarkos Chandras <markos.chandras@imgtec.com>
Mon, 17 Jun 2013 07:42:11 +0000 (07:42 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 21 Jun 2013 16:07:02 +0000 (18:07 +0200)
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>
arch/mips/ath79/mach-ap136.c

index 479dd4b1d0d2d21443f25fc9805ca3365c4f7f63..07eac58c3641bc9be9b8262100189c4f4b94ae50 100644 (file)
@@ -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)
This page took 0.025309 seconds and 5 git commands to generate.