[PATCH 3/6] ARM: spear: remove include/mach/ subdirectory

Viresh Kumar viresh.kumar at linaro.org
Thu Apr 28 20:14:03 PDT 2022


On 28-04-22, 15:31, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd at arndb.de>
> 
> Two of the remaining four headers are never used, the other
> two are only used inside of the platform code. Move them
> next to the files that include them and remove the
> Makefile trick that adds the include path.
> 
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> ---
>  arch/arm/mach-spear/Makefile                  |  2 -
>  arch/arm/mach-spear/include/mach/irqs.h       | 35 ----------------
>  arch/arm/mach-spear/include/mach/uncompress.h | 42 -------------------
>  .../mach-spear/{include/mach => }/misc_regs.h |  4 +-
>  arch/arm/mach-spear/pl080.c                   |  4 +-
>  arch/arm/mach-spear/platsmp.c                 |  2 +-
>  arch/arm/mach-spear/restart.c                 |  2 +-
>  .../arm/mach-spear/{include/mach => }/spear.h |  0
>  arch/arm/mach-spear/spear1310.c               |  2 +-
>  arch/arm/mach-spear/spear13xx.c               |  2 +-
>  arch/arm/mach-spear/spear300.c                |  2 +-
>  arch/arm/mach-spear/spear310.c                |  2 +-
>  arch/arm/mach-spear/spear320.c                |  2 +-
>  arch/arm/mach-spear/spear3xx.c                |  4 +-
>  arch/arm/mach-spear/spear6xx.c                |  4 +-
>  15 files changed, 14 insertions(+), 95 deletions(-)
>  delete mode 100644 arch/arm/mach-spear/include/mach/irqs.h
>  delete mode 100644 arch/arm/mach-spear/include/mach/uncompress.h
>  rename arch/arm/mach-spear/{include/mach => }/misc_regs.h (87%)
>  rename arch/arm/mach-spear/{include/mach => }/spear.h (100%)

Acked-by: Viresh Kumar <viresh.kumar at linaro.org>

-- 
viresh



More information about the linux-arm-kernel mailing list