]> git.sur5r.net Git - u-boot/commitdiff
MIPS: ath79: Use mach_cpu_init instead of arch_cpu_init
authorPaul Burton <paul.burton@imgtec.com>
Wed, 21 Sep 2016 10:18:47 +0000 (11:18 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 21 Sep 2016 13:04:04 +0000 (15:04 +0200)
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>
arch/mips/mach-ath79/cpu.c

index 5756a06d5082de35c4faa6f47c1fa15539b1f5f3..4ef50924789eb120270dea8b425389446429a735 100644 (file)
@@ -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;