Re: [PATCH 09/10] ARM: realview: make all header files local

From: Linus Walleij
Date: Thu Dec 10 2015 - 05:06:28 EST


On Wed, Nov 25, 2015 at 5:32 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:

> Nothing includes these files any more, so we can simply move them
> from arch/arm/mach-realview/include/mach/ to arch/arm/mach-realview.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

This patchset has problems because the boardfiles aren't really
compiled even if CONFIG_ATAGS is set. I had to apply this:

diff --git a/arch/arm/mach-realview/core.c b/arch/arm/mach-realview/core.c
index 7cd543b1eace..baf174542e36 100644
--- a/arch/arm/mach-realview/core.c
+++ b/arch/arm/mach-realview/core.c
@@ -46,7 +46,6 @@
#include <asm/mach/map.h>

#include "platform.h"
-#include "irqs.h"

#include <plat/sched_clock.h>

diff --git a/arch/arm/mach-realview/irqs-pb1176.h
b/arch/arm/mach-realview/irqs-pb1176.h
index e96c63e4ac72..778edfd430e7 100644
--- a/arch/arm/mach-realview/irqs-pb1176.h
+++ b/arch/arm/mach-realview/irqs-pb1176.h
@@ -74,6 +74,4 @@

#define IRQ_PB1176_SCTL -1

-#endif /* CONFIG_MACH_REALVIEW_PB1176 */
-
#endif /* __MACH_IRQS_PB1176_H */

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/