summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-09-21 11:18:47 +0100
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2016-09-21 15:04:04 +0200
commit0dfe04d6c8a52624c5404392168e52fe70fe0dc9 (patch)
treea7f36cdc9683bf5c1727b162c8814981e2cc81c1
parent8ebf50692ee9694e1b4baa61228376e83c0e106e (diff)
downloadu-boot-imx-0dfe04d6c8a52624c5404392168e52fe70fe0dc9.zip
u-boot-imx-0dfe04d6c8a52624c5404392168e52fe70fe0dc9.tar.gz
u-boot-imx-0dfe04d6c8a52624c5404392168e52fe70fe0dc9.tar.bz2
MIPS: ath79: Use mach_cpu_init instead of arch_cpu_init
In order to prepare for MIPS arch code making use of arch_cpu_init in a later patch, stop using it from ath79 SoC code & instead use the new mach_cpu_init which is provided for this purpose. Signed-off-by: Paul Burton <paul.burton@imgtec.com>
-rw-r--r--arch/mips/mach-ath79/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mach-ath79/cpu.c b/arch/mips/mach-ath79/cpu.c
index 5756a06..4ef5092 100644
--- a/arch/mips/mach-ath79/cpu.c
+++ b/arch/mips/mach-ath79/cpu.c
@@ -46,7 +46,7 @@ static const struct ath79_soc_desc desc[] = {
{ATH79_SOC_QCA9561, "9561", REV_ID_MAJOR_QCA9561, 0},
};
-int arch_cpu_init(void)
+int mach_cpu_init(void)
{
void __iomem *base;
enum ath79_soc_type soc = ATH79_SOC_UNKNOWN;