Skip to content

Commit

Permalink
ARM: shmobile: r8a7794: Remove unnecessary #ifdef CONFIG_USE_OF
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Simon Horman committed Sep 11, 2014
1 parent 5923abb commit 1370078
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/arm/mach-shmobile/setup-r8a7794.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
#include "rcar-gen2.h"
#include <asm/mach/arch.h>

#ifdef CONFIG_USE_OF

static const char * const r8a7794_boards_compat_dt[] __initconst = {
"renesas,r8a7794",
NULL,
Expand All @@ -32,4 +30,3 @@ DT_MACHINE_START(R8A7794_DT, "Generic R8A7794 (Flattened Device Tree)")
.init_time = rcar_gen2_timer_init,
.dt_compat = r8a7794_boards_compat_dt,
MACHINE_END
#endif /* CONFIG_USE_OF */

0 comments on commit 1370078

Please sign in to comment.