Skip to content

Commit

Permalink
[ARM] Include asm/hardware.h instead of asm/arch/hardware.h
Browse files Browse the repository at this point in the history
Rationalise hardware.h include.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Nov 16, 2005
1 parent ce07d90 commit 0a5709b
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-pxa/corgi_lcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <linux/string.h>
#include <asm/arch/akita.h>
#include <asm/arch/corgi.h>
#include <asm/arch/hardware.h>
#include <asm/hardware.h>
#include <asm/arch/pxa-regs.h>
#include <asm/arch/sharpsl.h>
#include <asm/arch/spitz.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/plat-omap/dmtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/

#include <linux/init.h>
#include <asm/arch/hardware.h>
#include <asm/hardware.h>
#include <asm/arch/dmtimer.h>
#include <asm/io.h>
#include <asm/arch/irqs.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/plat-omap/ocpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

#include <asm/io.h>
#include <asm/hardware/clock.h>
#include <asm/arch/hardware.h>
#include <asm/hardware.h>

#define OCPI_BASE 0xfffec320
#define OCPI_FAULT (OCPI_BASE + 0x00)
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/plat-omap/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ static void omap_pm_init_proc(void)
* @state: suspend state we're entering.
*
*/
//#include <asm/arch/hardware.h>
//#include <asm/hardware.h>

static int omap_pm_prepare(suspend_state_t state)
{
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/plat-omap/sram-fn.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <linux/linkage.h>
#include <asm/assembler.h>
#include <asm/arch/io.h>
#include <asm/arch/hardware.h>
#include <asm/hardware.h>

.text

Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/arch-clps711x/uncompress.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/
#include <linux/config.h>
#include <asm/arch/io.h>
#include <asm/arch/hardware.h>
#include <asm/hardware.h>
#include <asm/hardware/clps7111.h>

#undef CLPS7111_BASE
Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/arch-epxa10db/uncompress.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "asm/arch/platform.h"
#include "asm/arch/hardware.h"
#include "asm/hardware.h"
#define UART00_TYPE (volatile unsigned int*)
#include "asm/arch/uart00.h"

Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/arch-h720x/uncompress.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef __ASM_ARCH_UNCOMPRESS_H
#define __ASM_ARCH_UNCOMPRESS_H

#include <asm/arch/hardware.h>
#include <asm/hardware.h>

#define LSR 0x14
#define TEMPTY 0x40
Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/arch-imx/irqs.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define __ARM_IRQS_H__

/* Use the imx definitions */
#include <asm/arch/hardware.h>
#include <asm/hardware.h>

/*
* IMX Interrupt numbers
Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/arch-imx/timex.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#ifndef __ASM_ARCH_TIMEX_H
#define __ASM_ARCH_TIMEX_H

#include <asm/arch/hardware.h>
#include <asm/hardware.h>
#define CLOCK_TICK_RATE (CLK32)

#endif
2 changes: 1 addition & 1 deletion include/asm-arm/arch-integrator/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include <linux/config.h>

#include <asm/arch/hardware.h>
#include <asm/hardware.h>
#include <asm/io.h>

#define hard_smp_processor_id() \
Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/arch-l7200/aux_reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#ifndef _ASM_ARCH_AUXREG_H
#define _ASM_ARCH_AUXREG_H

#include <asm/arch/hardware.h>
#include <asm/hardware.h>

#define l7200aux_reg *((volatile unsigned int *) (AUX_BASE))

Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/arch-l7200/gp_timers.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#ifndef _ASM_ARCH_GPTIMERS_H
#define _ASM_ARCH_GPTIMERS_H

#include <asm/arch/hardware.h>
#include <asm/hardware.h>

/*
* Layout of L7200 general purpose timer registers
Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/arch-omap/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#ifndef __ASM_ARCH_OMAP_GPIO_H
#define __ASM_ARCH_OMAP_GPIO_H

#include <asm/arch/hardware.h>
#include <asm/hardware.h>
#include <asm/arch/irqs.h>
#include <asm/io.h>

Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/arch-omap/irqs.h
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ extern void omap_init_irq(void);
* The definition of NR_IRQS is in board-specific header file, which is
* included via hardware.h
*/
#include <asm/arch/hardware.h>
#include <asm/hardware.h>

#ifndef NR_IRQS
#define NR_IRQS IH_BOARD_BASE
Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/arch-omap/mcbsp.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#ifndef __ASM_ARCH_OMAP_MCBSP_H
#define __ASM_ARCH_OMAP_MCBSP_H

#include <asm/arch/hardware.h>
#include <asm/hardware.h>

#define OMAP730_MCBSP1_BASE 0xfffb1000
#define OMAP730_MCBSP2_BASE 0xfffb1800
Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/arch-omap/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <linux/config.h>
#include <asm/mach-types.h>
#include <asm/hardware/clock.h>
#include <asm/arch/hardware.h>
#include <asm/hardware.h>
#include <asm/arch/prcm.h>

#ifndef CONFIG_MACH_VOICEBLUE
Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/arch-rpc/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <asm/arch/hardware.h>
#include <asm/hardware.h>
#include <asm/hardware/iomd.h>
#include <asm/io.h>

Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/hardware/dec21285.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#include <linux/config.h>
#ifndef __ASSEMBLY__
#include <asm/arch/hardware.h>
#include <asm/hardware.h>
#define DC21285_IO(x) ((volatile unsigned long *)(ARMCSR_BASE+(x)))
#else
#define DC21285_IO(x) (x)
Expand Down

0 comments on commit 0a5709b

Please sign in to comment.