aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
authorSimon Horman <horms+renesas@verge.net.au>2014-09-09 20:43:31 -0400
committerSimon Horman <horms+renesas@verge.net.au>2014-09-10 20:51:16 -0400
commit1370078db37de2aa5e906ae2b5dbbb6ba289adb4 (patch)
treebcbd262c0881ecaef2f4931cb50ca8c7549d579a /arch/arm/mach-shmobile
parent5923abb205e05773e0bb16c7ca4c0b41dbeec40e (diff)
ARM: shmobile: r8a7794: Remove unnecessary #ifdef CONFIG_USE_OF
The r8a7794 support is always compiled using ARCH_MULTIPLATFORM which selects USE_OF. So #ifdef CONFIG_USE_OF is unnecessary. Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r--arch/arm/mach-shmobile/setup-r8a7794.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a7794.c b/arch/arm/mach-shmobile/setup-r8a7794.c
index 05e970c96efe..c10acd125aec 100644
--- a/arch/arm/mach-shmobile/setup-r8a7794.c
+++ b/arch/arm/mach-shmobile/setup-r8a7794.c
@@ -19,8 +19,6 @@
19#include "rcar-gen2.h" 19#include "rcar-gen2.h"
20#include <asm/mach/arch.h> 20#include <asm/mach/arch.h>
21 21
22#ifdef CONFIG_USE_OF
23
24static const char * const r8a7794_boards_compat_dt[] __initconst = { 22static const char * const r8a7794_boards_compat_dt[] __initconst = {
25 "renesas,r8a7794", 23 "renesas,r8a7794",
26 NULL, 24 NULL,
@@ -32,4 +30,3 @@ DT_MACHINE_START(R8A7794_DT, "Generic R8A7794 (Flattened Device Tree)")
32 .init_time = rcar_gen2_timer_init, 30 .init_time = rcar_gen2_timer_init,
33 .dt_compat = r8a7794_boards_compat_dt, 31 .dt_compat = r8a7794_boards_compat_dt,
34MACHINE_END 32MACHINE_END
35#endif /* CONFIG_USE_OF */