diff options
author | Simon Horman <horms+renesas@verge.net.au> | 2014-07-07 11:54:37 +0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-10-24 06:54:49 +0400 |
commit | 95e39682033b9940e17108098f08745b8938ab2c (patch) | |
tree | 35cbcb03b67283f5861936b1535c37a5753d7c93 /arch/arm | |
parent | f7b65230019b9dacd69922f925933c8bde1f9ec2 (diff) | |
download | linux-95e39682033b9940e17108098f08745b8938ab2c.tar.xz |
ARM: shmobile: r8a73a4: Rename cmt registration helper
Rename r8a7790_register_cmt() as r8a73a4_register_cmt() to
reflect name of the SoC in use. The use of r8a7790 appears
to be due to historical sharing of code from that SoC.
Shared code is no longer used.
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-shmobile/setup-r8a73a4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a73a4.c b/arch/arm/mach-shmobile/setup-r8a73a4.c index 53f40b70680d..7a7df71bbece 100644 --- a/arch/arm/mach-shmobile/setup-r8a73a4.c +++ b/arch/arm/mach-shmobile/setup-r8a73a4.c @@ -180,7 +180,7 @@ static struct resource cmt1_resources[] = { DEFINE_RES_IRQ(gic_spi(120)), }; -#define r8a7790_register_cmt(idx) \ +#define r8a73a4_register_cmt(idx) \ platform_device_register_resndata(NULL, "sh-cmt-48-gen2", \ idx, cmt##idx##_resources, \ ARRAY_SIZE(cmt##idx##_resources), \ @@ -189,7 +189,7 @@ static struct resource cmt1_resources[] = { void __init r8a73a4_add_dt_devices(void) { - r8a7790_register_cmt(1); + r8a73a4_register_cmt(1); } /* DMA */ |