Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95e39682 authored by Simon Horman's avatar Simon Horman
Browse files

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: default avatarSimon Horman <horms+renesas@verge.net.au>
parent f7b65230
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 */