Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 970cb7b9 authored by Markos Chandras's avatar Markos Chandras Committed by Ralf Baechle
Browse files

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: default avatarMarkos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5476/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 9b1f812a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -132,7 +132,7 @@ static void __init ap136_pci_init(u8 *eeprom)
	ath79_register_pci();
	ath79_register_pci();
}
}
#else
#else
static inline void ap136_pci_init(void) {}
static inline void ap136_pci_init(u8 *eeprom) {}
#endif /* CONFIG_PCI */
#endif /* CONFIG_PCI */


static void __init ap136_setup(void)
static void __init ap136_setup(void)