From: Paul Burton Date: Wed, 21 Sep 2016 11:18:47 +0100 Subject: [U-Boot] [PATCH v3 02/14] MIPS: ath79: Use mach_cpu_init instead of arch_cpu_init In-Reply-To: <20160921101900.31610-1-paul.burton@imgtec.com> References: <20160921101900.31610-1-paul.burton@imgtec.com> Message-ID: <20160921101900.31610-3-paul.burton@imgtec.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- Changes in v3: None Changes in v2: - Rebase atop changes in patch 1 arch/mips/mach-ath79/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.10.0