aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/soc/renesas/r8a7796-sysc.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2019-10-23 14:33:32 +0200
committerGeert Uytterhoeven <geert+renesas@glider.be>2019-11-01 14:25:53 +0100
commitf79edb17b618c3122d11eb0c848855b99c42fa24 (patch)
tree0a8b11523ff45c19d070b1f4b3dd0f4637901b33 /drivers/soc/renesas/r8a7796-sysc.c
parentMerge tag 'renesas-r8a77961-dt-binding-defs-tag' into renesas-drivers-for-v5.5 (diff)
downloadlinux-dev-f79edb17b618c3122d11eb0c848855b99c42fa24.tar.xz
linux-dev-f79edb17b618c3122d11eb0c848855b99c42fa24.zip
soc: renesas: Rename SYSC_R8A7796 to SYSC_R8A77960
Rename CONFIG_SYSC_R8A7796 for R-Car M3-W (R8A77960) to CONFIG_SYSC_R8A77960, to avoid confusion with R-Car M3-W+ (R8A77961), which will use CONFIG_SYSC_R8A77961. Rename r8a7796_sysc_info and r8a7796_sysc_init for consistency. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Link: https://lore.kernel.org/r/20191023123342.13100-2-geert+renesas@glider.be
Diffstat (limited to 'drivers/soc/renesas/r8a7796-sysc.c')
-rw-r--r--drivers/soc/renesas/r8a7796-sysc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/soc/renesas/r8a7796-sysc.c b/drivers/soc/renesas/r8a7796-sysc.c
index d374622a667b..c2accd8d7668 100644
--- a/drivers/soc/renesas/r8a7796-sysc.c
+++ b/drivers/soc/renesas/r8a7796-sysc.c
@@ -47,16 +47,16 @@ static const struct soc_device_attribute r8a7796es1[] __initconst = {
{ /* sentinel */ }
};
-static int __init r8a7796_sysc_init(void)
+static int __init r8a77960_sysc_init(void)
{
if (soc_device_match(r8a7796es1))
- r8a7796_sysc_info.extmask_val = 0;
+ r8a77960_sysc_info.extmask_val = 0;
return 0;
}
-struct rcar_sysc_info r8a7796_sysc_info __initdata = {
- .init = r8a7796_sysc_init,
+struct rcar_sysc_info r8a77960_sysc_info __initdata = {
+ .init = r8a77960_sysc_init,
.areas = r8a7796_areas,
.num_areas = ARRAY_SIZE(r8a7796_areas),
.extmask_offs = 0x2f8,