Skip to content

Commit

Permalink
ARM: remove unnecessary mach/hardware.h includes
Browse files Browse the repository at this point in the history
Remove some includes of mach/hardware.h which are not needed. hardware.h
will be removed completely for tegra and cns3xxx in follow on patch.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Rob Herring committed Jul 12, 2011
1 parent f4ffd5e commit b480a4b
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion arch/arm/lib/ecard.S
Expand Up @@ -12,7 +12,6 @@
*/
#include <linux/linkage.h>
#include <asm/assembler.h>
#include <mach/hardware.h>

#define CPSR2SPSR(rt) \
mrs rt, cpsr; \
Expand Down
1 change: 0 additions & 1 deletion arch/arm/lib/io-readsw-armv3.S
Expand Up @@ -9,7 +9,6 @@
*/
#include <linux/linkage.h>
#include <asm/assembler.h>
#include <mach/hardware.h>

.Linsw_bad_alignment:
adr r0, .Linsw_bad_align_msg
Expand Down
1 change: 0 additions & 1 deletion arch/arm/lib/io-writesw-armv3.S
Expand Up @@ -9,7 +9,6 @@
*/
#include <linux/linkage.h>
#include <asm/assembler.h>
#include <mach/hardware.h>

.Loutsw_bad_alignment:
adr r0, .Loutsw_bad_align_msg
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-cns3xxx/cns3420vb.c
Expand Up @@ -29,7 +29,6 @@
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/time.h>
#include <mach/hardware.h>
#include <mach/cns3xxx.h>
#include <mach/irqs.h>
#include "core.h"
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-tegra/include/mach/system.h
Expand Up @@ -21,7 +21,6 @@
#ifndef __MACH_TEGRA_SYSTEM_H
#define __MACH_TEGRA_SYSTEM_H

#include <mach/hardware.h>
#include <mach/iomap.h>

extern void (*arch_reset)(char mode, const char *cmd);
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-tegra/io.c
Expand Up @@ -24,7 +24,6 @@
#include <linux/mm.h>
#include <linux/io.h>

#include <mach/hardware.h>
#include <asm/page.h>
#include <asm/mach/map.h>

Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-tegra/platsmp.c
Expand Up @@ -21,7 +21,6 @@

#include <asm/cacheflush.h>
#include <asm/hardware/gic.h>
#include <mach/hardware.h>
#include <asm/mach-types.h>
#include <asm/smp_scu.h>

Expand Down
1 change: 0 additions & 1 deletion arch/arm/mm/proc-xsc3.S
Expand Up @@ -28,7 +28,6 @@
#include <linux/init.h>
#include <asm/assembler.h>
#include <asm/hwcap.h>
#include <mach/hardware.h>
#include <asm/pgtable.h>
#include <asm/pgtable-hwdef.h>
#include <asm/page.h>
Expand Down

0 comments on commit b480a4b

Please sign in to comment.