* [PATCH] ARM: shmobile: r8a7794: Remove unnecessary #ifdef CONFIG_USE_OF
@ 2014-09-10 0:43 Simon Horman
2014-09-11 0:51 ` Simon Horman
0 siblings, 1 reply; 3+ messages in thread
From: Simon Horman @ 2014-09-10 0:43 UTC (permalink / raw)
To: linux-arm-kernel
The r8a7794 support is always compiled using ARCH_MULTIPLATFORM which
selects USE_OF. So #ifdef CONFIG_USE_OF is unnecessary.
Cc: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
This patch is based on renesas-devel-20140910v2-v3.17-rc4
arch/arm/mach-shmobile/setup-r8a7794.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/arm/mach-shmobile/setup-r8a7794.c b/arch/arm/mach-shmobile/setup-r8a7794.c
index 05e970c..c10acd1 100644
--- a/arch/arm/mach-shmobile/setup-r8a7794.c
+++ b/arch/arm/mach-shmobile/setup-r8a7794.c
@@ -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,
@@ -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 */
--
2.0.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] ARM: shmobile: r8a7794: Remove unnecessary #ifdef CONFIG_USE_OF
2014-09-10 0:43 [PATCH] ARM: shmobile: r8a7794: Remove unnecessary #ifdef CONFIG_USE_OF Simon Horman
@ 2014-09-11 0:51 ` Simon Horman
0 siblings, 0 replies; 3+ messages in thread
From: Simon Horman @ 2014-09-11 0:51 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Sep 10, 2014 at 09:43:31AM +0900, Simon Horman wrote:
> The r8a7794 support is always compiled using ARCH_MULTIPLATFORM which
> selects USE_OF. So #ifdef CONFIG_USE_OF is unnecessary.
>
> Cc: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
> Reported-by: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
I have queued this up.
> ---
>
> This patch is based on renesas-devel-20140910v2-v3.17-rc4
>
> arch/arm/mach-shmobile/setup-r8a7794.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/arch/arm/mach-shmobile/setup-r8a7794.c b/arch/arm/mach-shmobile/setup-r8a7794.c
> index 05e970c..c10acd1 100644
> --- a/arch/arm/mach-shmobile/setup-r8a7794.c
> +++ b/arch/arm/mach-shmobile/setup-r8a7794.c
> @@ -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,
> @@ -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 */
> --
> 2.0.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [GIT PULL] Fourth Round of Renesas ARM Based SoC Soc Updates for v3.18
@ 2014-09-16 1:57 Simon Horman
2014-09-16 1:57 ` [PATCH] ARM: shmobile: r8a7794: Remove unnecessary #ifdef CONFIG_USE_OF Simon Horman
0 siblings, 1 reply; 3+ messages in thread
From: Simon Horman @ 2014-09-16 1:57 UTC (permalink / raw)
To: linux-arm-kernel
Hi Olof, Hi Kevin, Hi Arnd,
Please consider these fourth round of Renesas ARM based SoC soc updates for
v3.18.
This pull request is based on the previous round of
such requests, tagged as renesas-soc3-for-v3.18,
which you have pulled.
The following changes since commit 5923abb205e05773e0bb16c7ca4c0b41dbeec40e:
ARM: shmobile: Initial r8a7794 SoC support (2014-09-05 17:23:49 +0900)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-soc4-for-v3.18
for you to fetch changes up to 1370078db37de2aa5e906ae2b5dbbb6ba289adb4:
ARM: shmobile: r8a7794: Remove unnecessary #ifdef CONFIG_USE_OF (2014-09-11 09:51:16 +0900)
----------------------------------------------------------------
Fourth Round of Renesas ARM Based SoC Soc Updates for v3.18
* r8a7794: Remove unnecessary #ifdef CONFIG_USE_OF
----------------------------------------------------------------
Simon Horman (1):
ARM: shmobile: r8a7794: Remove unnecessary #ifdef CONFIG_USE_OF
arch/arm/mach-shmobile/setup-r8a7794.c | 3 ---
1 file changed, 3 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH] ARM: shmobile: r8a7794: Remove unnecessary #ifdef CONFIG_USE_OF
2014-09-16 1:57 [GIT PULL] Fourth Round of Renesas ARM Based SoC Soc Updates for v3.18 Simon Horman
@ 2014-09-16 1:57 ` Simon Horman
0 siblings, 0 replies; 3+ messages in thread
From: Simon Horman @ 2014-09-16 1:57 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
arch/arm/mach-shmobile/setup-r8a7794.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/arm/mach-shmobile/setup-r8a7794.c b/arch/arm/mach-shmobile/setup-r8a7794.c
index 05e970c..c10acd1 100644
--- a/arch/arm/mach-shmobile/setup-r8a7794.c
+++ b/arch/arm/mach-shmobile/setup-r8a7794.c
@@ -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,
@@ -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 */
--
2.0.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-09-16 1:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-10 0:43 [PATCH] ARM: shmobile: r8a7794: Remove unnecessary #ifdef CONFIG_USE_OF Simon Horman
2014-09-11 0:51 ` Simon Horman
-- strict thread matches above, loose matches on Subject: below --
2014-09-16 1:57 [GIT PULL] Fourth Round of Renesas ARM Based SoC Soc Updates for v3.18 Simon Horman
2014-09-16 1:57 ` [PATCH] ARM: shmobile: r8a7794: Remove unnecessary #ifdef CONFIG_USE_OF Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).