Skip to content

Commit

Permalink
ARM: ux500: make irqs.h local to platform
Browse files Browse the repository at this point in the history
With the PRCMU out of the way, nothing outside of mach-ux500
uses mach/irqs.h any more, so we can make it a local header file,
including the two sub-headers.

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 174e779 commit eba5274
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 11 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 @@ -11,7 +11,7 @@
#include <linux/platform_data/dma-ste-dma40.h>

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

#include "ste-dma40-db8500.h"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-ux500/board-mop500-u8500uib.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <linux/mfd/tc3589x.h>
#include <linux/input/matrix_keypad.h>

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

#include "board-mop500.h"

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-ux500/board-mop500.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

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

#include "ste-dma40-db8500.h"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-ux500/board-mop500.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#define __BOARD_MOP500_H

/* For NOMADIK_NR_GPIO */
#include <mach/irqs.h>
#include "irqs.h"
#include <linux/platform_data/asoc-ux500-msp.h>
#include <linux/amba/mmci.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-ux500/cpu-db8500.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

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

#include "devices-db8500.h"
#include "ste-dma40-db8500.h"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-ux500/devices-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <linux/platform_device.h>
#include <linux/platform_data/pinctrl-nomadik.h>

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

#include "devices-common.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 @@ -16,7 +16,7 @@
#include <linux/mfd/dbx500-prcmu.h>

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

#include "db8500-regs.h"
#include "devices-db8500.h"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-ux500/devices-db8500.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#define __DEVICES_DB8500_H

#include <linux/platform_data/usb-musb-ux500.h>
#include <mach/irqs.h>
#include "irqs.h"
#include "db8500-regs.h"
#include "devices-common.h"

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@
/* This will be overridden by SoC-specific irq headers */
#define IRQ_SOC_END IRQ_SOC_START

#include <mach/irqs-db8500.h>
#include "irqs-db8500.h"

#define IRQ_BOARD_START IRQ_SOC_END
/* This will be overridden by board-specific irq headers */
#define IRQ_BOARD_END IRQ_BOARD_START

#ifdef CONFIG_MACH_MOP500
#include <mach/irqs-board-mop500.h>
#include "irqs-board-mop500.h"
#endif

#define UX500_NR_IRQS IRQ_BOARD_END
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-ux500/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <asm/smp_twd.h>

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

#include "db8500-regs.h"
#include "id.h"
Expand Down

0 comments on commit eba5274

Please sign in to comment.