diff mbox

[01/02] ARM: shmobile: r8a7779: No TWD setup in C for Multiplatform

Message ID 20141216093931.14252.89982.sendpatchset@w520 (mailing list archive)
State Accepted
Commit 1dc13eee3a5c60131657482aa88c997e5fa8b50c
Headers show

Commit Message

Magnus Damm Dec. 16, 2014, 9:39 a.m. UTC
From: Magnus Damm <damm+renesas@opensource.se>

Skip the TWD setup in C for r8a7779 Multiplatform.
We should use DTS for the TWD device anyway.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---

 Built on top of renesas-devel-20141216v2-v3.18
 No special dependencies

 arch/arm/mach-shmobile/smp-r8a7779.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- 0001/arch/arm/mach-shmobile/smp-r8a7779.c
+++ work/arch/arm/mach-shmobile/smp-r8a7779.c	2014-12-16 18:24:44.000000000 +0900
@@ -56,7 +56,7 @@  static struct rcar_sysc_ch *r8a7779_ch_c
 	[3] = &r8a7779_ch_cpu3,
 };
 
-#ifdef CONFIG_HAVE_ARM_TWD
+#if defined(CONFIG_HAVE_ARM_TWD) && !defined(CONFIG_ARCH_MULTIPLATFORM)
 static DEFINE_TWD_LOCAL_TIMER(twd_local_timer, R8A7779_SCU_BASE + 0x600, 29);
 void __init r8a7779_register_twd(void)
 {