Skip to content

Commit

Permalink
ARM: ux500: make remaining headers local
Browse files Browse the repository at this point in the history
mach/setup.h and mach/devices.h are only needed from inside of mach-ux500
now, so we can simply move them out of the include/mach directory.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Arnd Bergmann authored and Linus Walleij committed Apr 8, 2013
1 parent eba5274 commit e657bcf
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-ux500/board-mop500-audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <linux/platform_data/pinctrl-nomadik.h>
#include <linux/platform_data/dma-ste-dma40.h>

#include <mach/devices.h>
#include "devices.h"
#include "irqs.h"
#include <linux/platform_data/asoc-ux500-msp.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-ux500/board-mop500-sdi.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <linux/platform_data/dma-ste-dma40.h>

#include <asm/mach-types.h>
#include <mach/devices.h>
#include "devices.h"

#include "db8500-regs.h"
#include "devices-db8500.h"
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-ux500/board-mop500.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>

#include <mach/setup.h>
#include <mach/devices.h>
#include "setup.h"
#include "devices.h"
#include "irqs.h"
#include <linux/platform_data/crypto-ux500.h>

Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-ux500/cpu-db8500.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
#include <asm/mach/map.h>
#include <asm/mach/arch.h>

#include <mach/setup.h>
#include <mach/devices.h>
#include "setup.h"
#include "devices.h"
#include "irqs.h"

#include "devices-db8500.h"
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-ux500/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@

#include <asm/mach/map.h>

#include <mach/setup.h>
#include <mach/devices.h>
#include "setup.h"
#include "devices.h"

#include "board-mop500.h"
#include "db8500-regs.h"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-ux500/devices-db8500.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <linux/platform_data/dma-ste-dma40.h>
#include <linux/mfd/dbx500-prcmu.h>

#include <mach/setup.h>
#include "setup.h"
#include "irqs.h"

#include "db8500-regs.h"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-ux500/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <linux/io.h>
#include <linux/amba/bus.h>

#include <mach/setup.h>
#include "setup.h"

#include "db8500-regs.h"

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion arch/arm/mach-ux500/hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <asm/cacheflush.h>
#include <asm/smp_plat.h>

#include <mach/setup.h>
#include "setup.h"

/*
* platform-specific code to shutdown a CPU
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-ux500/id.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <asm/cacheflush.h>
#include <asm/mach/map.h>

#include <mach/setup.h>
#include "setup.h"

#include "db8500-regs.h"
#include "id.h"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-ux500/platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <asm/smp_plat.h>
#include <asm/smp_scu.h>

#include <mach/setup.h>
#include "setup.h"

#include "db8500-regs.h"
#include "id.h"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion arch/arm/mach-ux500/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include <asm/smp_twd.h>

#include <mach/setup.h>
#include "setup.h"
#include "irqs.h"

#include "db8500-regs.h"
Expand Down
2 changes: 0 additions & 2 deletions drivers/clocksource/clksrc-dbx500-prcmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

#include <asm/sched_clock.h>

#include <mach/setup.h>

#define RATE_32K 32768

#define TIMER_MODE_CONTINOUS 0x1
Expand Down

0 comments on commit e657bcf

Please sign in to comment.