From d8b2823e950cd9634eb4a01f563ee55afb39d549 Mon Sep 17 00:00:00 2001 From: Arnd Bergmann Date: Fri, 30 Jan 2015 10:45:33 +0100 Subject: [PATCH] ARM: ks8695: make headers more local Some header files are never included outside of a mach-ks8695 directory and do not need to be made visible in include/mach, so let's just move them all down one level. Signed-off-by: Arnd Bergmann Acked-by: Greg Ungerer --- arch/arm/mach-ks8695/board-acs5k.c | 2 +- arch/arm/mach-ks8695/board-dsm320.c | 2 +- arch/arm/mach-ks8695/board-micrel.c | 2 +- arch/arm/mach-ks8695/board-og.c | 2 +- arch/arm/mach-ks8695/board-sg.c | 2 +- arch/arm/mach-ks8695/cpu.c | 2 +- arch/arm/mach-ks8695/devices.c | 6 +++--- arch/arm/mach-ks8695/{include/mach => }/devices.h | 0 arch/arm/mach-ks8695/pci.c | 4 ++-- arch/arm/mach-ks8695/{include/mach => }/regs-hpna.h | 0 arch/arm/mach-ks8695/{include/mach => }/regs-lan.h | 0 arch/arm/mach-ks8695/{include/mach => }/regs-mem.h | 0 arch/arm/mach-ks8695/{include/mach => }/regs-pci.h | 0 arch/arm/mach-ks8695/{include/mach => }/regs-sys.h | 0 arch/arm/mach-ks8695/{include/mach => }/regs-wan.h | 0 15 files changed, 11 insertions(+), 11 deletions(-) rename arch/arm/mach-ks8695/{include/mach => }/devices.h (100%) rename arch/arm/mach-ks8695/{include/mach => }/regs-hpna.h (100%) rename arch/arm/mach-ks8695/{include/mach => }/regs-lan.h (100%) rename arch/arm/mach-ks8695/{include/mach => }/regs-mem.h (100%) rename arch/arm/mach-ks8695/{include/mach => }/regs-pci.h (100%) rename arch/arm/mach-ks8695/{include/mach => }/regs-sys.h (100%) rename arch/arm/mach-ks8695/{include/mach => }/regs-wan.h (100%) diff --git a/arch/arm/mach-ks8695/board-acs5k.c b/arch/arm/mach-ks8695/board-acs5k.c index 9f9c0441a917..e4d709c8ed32 100644 --- a/arch/arm/mach-ks8695/board-acs5k.c +++ b/arch/arm/mach-ks8695/board-acs5k.c @@ -33,7 +33,7 @@ #include #include -#include +#include "devices.h" #include #include "generic.h" diff --git a/arch/arm/mach-ks8695/board-dsm320.c b/arch/arm/mach-ks8695/board-dsm320.c index d37c218c3584..13537e9c5485 100644 --- a/arch/arm/mach-ks8695/board-dsm320.c +++ b/arch/arm/mach-ks8695/board-dsm320.c @@ -28,7 +28,7 @@ #include #include -#include +#include "devices.h" #include #include "generic.h" diff --git a/arch/arm/mach-ks8695/board-micrel.c b/arch/arm/mach-ks8695/board-micrel.c index 3acbdfd31391..69cfb9935fc1 100644 --- a/arch/arm/mach-ks8695/board-micrel.c +++ b/arch/arm/mach-ks8695/board-micrel.c @@ -19,7 +19,7 @@ #include #include -#include +#include "devices.h" #include "generic.h" diff --git a/arch/arm/mach-ks8695/board-og.c b/arch/arm/mach-ks8695/board-og.c index f2658168eeff..1f4f2f4f25bb 100644 --- a/arch/arm/mach-ks8695/board-og.c +++ b/arch/arm/mach-ks8695/board-og.c @@ -18,7 +18,7 @@ #include #include #include -#include +#include "devices.h" #include #include #include "generic.h" diff --git a/arch/arm/mach-ks8695/board-sg.c b/arch/arm/mach-ks8695/board-sg.c index fdf2352d2cf8..46e455c3821b 100644 --- a/arch/arm/mach-ks8695/board-sg.c +++ b/arch/arm/mach-ks8695/board-sg.c @@ -16,7 +16,7 @@ #include #include #include -#include +#include "devices.h" #include "generic.h" /* diff --git a/arch/arm/mach-ks8695/cpu.c b/arch/arm/mach-ks8695/cpu.c index ddb24222918e..474a050da85b 100644 --- a/arch/arm/mach-ks8695/cpu.c +++ b/arch/arm/mach-ks8695/cpu.c @@ -30,7 +30,7 @@ #include #include -#include +#include "regs-sys.h" #include diff --git a/arch/arm/mach-ks8695/devices.c b/arch/arm/mach-ks8695/devices.c index 47399bc3c024..61cf20beb45f 100644 --- a/arch/arm/mach-ks8695/devices.c +++ b/arch/arm/mach-ks8695/devices.c @@ -24,9 +24,9 @@ #include #include -#include -#include -#include +#include "regs-wan.h" +#include "regs-lan.h" +#include "regs-hpna.h" #include #include diff --git a/arch/arm/mach-ks8695/include/mach/devices.h b/arch/arm/mach-ks8695/devices.h similarity index 100% rename from arch/arm/mach-ks8695/include/mach/devices.h rename to arch/arm/mach-ks8695/devices.h diff --git a/arch/arm/mach-ks8695/pci.c b/arch/arm/mach-ks8695/pci.c index c1bc4c3716ed..577a35f75c8a 100644 --- a/arch/arm/mach-ks8695/pci.c +++ b/arch/arm/mach-ks8695/pci.c @@ -33,8 +33,8 @@ #include #include -#include -#include +#include "devices.h" +#include "regs-pci.h" static int pci_dbg; diff --git a/arch/arm/mach-ks8695/include/mach/regs-hpna.h b/arch/arm/mach-ks8695/regs-hpna.h similarity index 100% rename from arch/arm/mach-ks8695/include/mach/regs-hpna.h rename to arch/arm/mach-ks8695/regs-hpna.h diff --git a/arch/arm/mach-ks8695/include/mach/regs-lan.h b/arch/arm/mach-ks8695/regs-lan.h similarity index 100% rename from arch/arm/mach-ks8695/include/mach/regs-lan.h rename to arch/arm/mach-ks8695/regs-lan.h diff --git a/arch/arm/mach-ks8695/include/mach/regs-mem.h b/arch/arm/mach-ks8695/regs-mem.h similarity index 100% rename from arch/arm/mach-ks8695/include/mach/regs-mem.h rename to arch/arm/mach-ks8695/regs-mem.h diff --git a/arch/arm/mach-ks8695/include/mach/regs-pci.h b/arch/arm/mach-ks8695/regs-pci.h similarity index 100% rename from arch/arm/mach-ks8695/include/mach/regs-pci.h rename to arch/arm/mach-ks8695/regs-pci.h diff --git a/arch/arm/mach-ks8695/include/mach/regs-sys.h b/arch/arm/mach-ks8695/regs-sys.h similarity index 100% rename from arch/arm/mach-ks8695/include/mach/regs-sys.h rename to arch/arm/mach-ks8695/regs-sys.h diff --git a/arch/arm/mach-ks8695/include/mach/regs-wan.h b/arch/arm/mach-ks8695/regs-wan.h similarity index 100% rename from arch/arm/mach-ks8695/include/mach/regs-wan.h rename to arch/arm/mach-ks8695/regs-wan.h -- 2.20.1