]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: shmobile: sh73a0: don't use named resource for TMU
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 8 Oct 2013 05:58:42 +0000 (22:58 -0700)
committerSimon Horman <horms+renesas@verge.net.au>
Sun, 24 Nov 2013 06:14:29 +0000 (15:14 +0900)
sh_tmu driver doesn't care resource name.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-sh73a0.c

index 22de17417fd7c83a4ae4c9b66162cd3c16f1cb04..b7ce68e029a5ad044931ded735dc9cf9a5ca98c7 100644 (file)
@@ -273,7 +273,7 @@ static struct sh_timer_config tmu00_platform_data = {
 };
 
 static struct resource tmu00_resources[] = {
-       [0] = DEFINE_RES_MEM_NAMED(0xfff60008, 0xc, "TMU00"),
+       [0] = DEFINE_RES_MEM(0xfff60008, 0xc),
        [1] = {
                .start  = intcs_evt2irq(0x0e80), /* TMU0_TUNI00 */
                .flags  = IORESOURCE_IRQ,
@@ -298,7 +298,7 @@ static struct sh_timer_config tmu01_platform_data = {
 };
 
 static struct resource tmu01_resources[] = {
-       [0] = DEFINE_RES_MEM_NAMED(0xfff60014, 0xc, "TMU00"),
+       [0] = DEFINE_RES_MEM(0xfff60014, 0xc),
        [1] = {
                .start  = intcs_evt2irq(0x0ea0), /* TMU0_TUNI01 */
                .flags  = IORESOURCE_IRQ,