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

Commit bd6dfe58 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Simon Horman
Browse files

ARM: shmobile: sh73a0: don't use named resource for TMU



sh_tmu driver doesn't care resource name.

Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: default avatarMagnus Damm <damm@opensource.se>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent b7b42df6
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -273,7 +273,7 @@ static struct sh_timer_config tmu00_platform_data = {
};
};


static struct resource tmu00_resources[] = {
static struct resource tmu00_resources[] = {
	[0] = DEFINE_RES_MEM_NAMED(0xfff60008, 0xc, "TMU00"),
	[0] = DEFINE_RES_MEM(0xfff60008, 0xc),
	[1] = {
	[1] = {
		.start	= intcs_evt2irq(0x0e80), /* TMU0_TUNI00 */
		.start	= intcs_evt2irq(0x0e80), /* TMU0_TUNI00 */
		.flags	= IORESOURCE_IRQ,
		.flags	= IORESOURCE_IRQ,
@@ -298,7 +298,7 @@ static struct sh_timer_config tmu01_platform_data = {
};
};


static struct resource tmu01_resources[] = {
static struct resource tmu01_resources[] = {
	[0] = DEFINE_RES_MEM_NAMED(0xfff60014, 0xc, "TMU00"),
	[0] = DEFINE_RES_MEM(0xfff60014, 0xc),
	[1] = {
	[1] = {
		.start	= intcs_evt2irq(0x0ea0), /* TMU0_TUNI01 */
		.start	= intcs_evt2irq(0x0ea0), /* TMU0_TUNI01 */
		.flags	= IORESOURCE_IRQ,
		.flags	= IORESOURCE_IRQ,