Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Markos Chandras and committed by
Ralf Baechle
970cb7b9 9b1f812a

+1 -1
+1 -1
arch/mips/ath79/mach-ap136.c
··· 132 132 ath79_register_pci(); 133 133 } 134 134 #else 135 - static inline void ap136_pci_init(void) {} 135 + static inline void ap136_pci_init(u8 *eeprom) {} 136 136 #endif /* CONFIG_PCI */ 137 137 138 138 static void __init ap136_setup(void)