diff options
| author | Markos Chandras <markos.chandras@imgtec.com> | 2013-06-17 03:42:11 -0400 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2013-06-21 12:07:02 -0400 |
| commit | 970cb7b963885afff070b315d85a56808bdf2788 (patch) | |
| tree | 33e5faff19fe85e0d16ce4aa18c5a9a6ce2681b3 | |
| parent | 9b1f812acb607bcdfafd8cacec89f9b736e2be0c (diff) | |
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>
| -rw-r--r-- | arch/mips/ath79/mach-ap136.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/ath79/mach-ap136.c b/arch/mips/ath79/mach-ap136.c index 479dd4b1d0d2..07eac58c3641 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) | |||
| 132 | ath79_register_pci(); | 132 | ath79_register_pci(); |
| 133 | } | 133 | } |
| 134 | #else | 134 | #else |
| 135 | static inline void ap136_pci_init(void) {} | 135 | static inline void ap136_pci_init(u8 *eeprom) {} |
| 136 | #endif /* CONFIG_PCI */ | 136 | #endif /* CONFIG_PCI */ |
| 137 | 137 | ||
| 138 | static void __init ap136_setup(void) | 138 | static void __init ap136_setup(void) |
