Bladeren bron

[ARM] move asm/xip.h's mach/hardware.h include to mach/xip.h

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Russell King 16 jaren geleden
bovenliggende
commit
a02f45cfca

+ 0 - 1
arch/arm/include/asm/mtd-xip.h

@@ -15,7 +15,6 @@
 #ifndef __ARM_MTD_XIP_H__
 #define __ARM_MTD_XIP_H__
 
-#include <mach/hardware.h>
 #include <mach/mtd-xip.h>
 
 /* fill instruction prefetch */

+ 1 - 0
arch/arm/mach-pxa/include/mach/mtd-xip.h

@@ -15,6 +15,7 @@
 #ifndef __ARCH_PXA_MTD_XIP_H__
 #define __ARCH_PXA_MTD_XIP_H__
 
+#include <mach/hardware.h>
 #include <mach/pxa-regs.h>
 
 #define xip_irqpending()	(ICIP & ICMR)

+ 2 - 0
arch/arm/mach-sa1100/include/mach/mtd-xip.h

@@ -15,6 +15,8 @@
 #ifndef __ARCH_SA1100_MTD_XIP_H__
 #define __ARCH_SA1100_MTD_XIP_H__
 
+#include <mach/hardware.h>
+
 #define xip_irqpending()	(ICIP & ICMR)
 
 /* we sample OSCR and convert desired delta to usec (1/4 ~= 1000000/3686400) */