Commit 1370078d authored by Simon Horman's avatar Simon Horman

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: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 5923abb2
...@@ -19,8 +19,6 @@ ...@@ -19,8 +19,6 @@
#include "rcar-gen2.h" #include "rcar-gen2.h"
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#ifdef CONFIG_USE_OF
static const char * const r8a7794_boards_compat_dt[] __initconst = { static const char * const r8a7794_boards_compat_dt[] __initconst = {
"renesas,r8a7794", "renesas,r8a7794",
NULL, NULL,
...@@ -32,4 +30,3 @@ DT_MACHINE_START(R8A7794_DT, "Generic R8A7794 (Flattened Device Tree)") ...@@ -32,4 +30,3 @@ DT_MACHINE_START(R8A7794_DT, "Generic R8A7794 (Flattened Device Tree)")
.init_time = rcar_gen2_timer_init, .init_time = rcar_gen2_timer_init,
.dt_compat = r8a7794_boards_compat_dt, .dt_compat = r8a7794_boards_compat_dt,
MACHINE_END MACHINE_END
#endif /* CONFIG_USE_OF */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment