From 74215bb0b0bf016fb1777b91d30039a9c20026ab Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Tue, 27 Feb 2024 17:05:48 +0100 Subject: [PATCH] ARM: renesas: Rename rmobile_cpuinfo_idx() to renesas_cpuinfo_idx() Rename rmobile_cpuinfo_idx() to renesas_cpuinfo_idx() because all the chips are made by Renesas, while only a subset of them is from the R-Mobile line. Signed-off-by: Marek Vasut Reviewed-by: Paul Barker --- arch/arm/mach-rmobile/cpu_info.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-rmobile/cpu_info.c b/arch/arm/mach-rmobile/cpu_info.c index 9c5ea4e6cd..3790ffd0a8 100644 --- a/arch/arm/mach-rmobile/cpu_info.c +++ b/arch/arm/mach-rmobile/cpu_info.c @@ -81,7 +81,7 @@ static const struct { { 0x0, "CPU" }, }; -static int rmobile_cpuinfo_idx(void) +static int renesas_cpuinfo_idx(void) { u32 cpu_type = renesas_get_cpu_type(); int i; @@ -104,7 +104,7 @@ static const u8 *get_cpu_name(int idx) #ifdef CONFIG_ARCH_MISC_INIT int arch_misc_init(void) { - int i, idx = rmobile_cpuinfo_idx(); + int i, idx = renesas_cpuinfo_idx(); const u8 *cpu_name = get_cpu_name(idx); char cpu[10] = { 0 }; @@ -119,7 +119,7 @@ int arch_misc_init(void) int print_cpuinfo(void) { - int i = rmobile_cpuinfo_idx(); + int i = renesas_cpuinfo_idx(); if (rmobile_cpuinfo[i].cpu_type == RENESAS_CPU_TYPE_R8A7796 && renesas_get_cpu_rev_integer() == 1 && -- 2.39.5