aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-11-05 18:06:17 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-11-05 18:26:46 -0400
commit7a3f8de5a3c36e5fde130cae74a06663b59837ae (patch)
tree71cbf9c7ac4b1f7ad53bd033a188b16d82543feb /drivers/pcmcia
parent7124cb96cadc5f9990ade39780b672b01bfc6484 (diff)
ARM: PXA: fix includes in pxa2xx_cm_x2xx PCMCIA driver
The includes in the pxa2xx_cm_x2xx PCMCIA driver are rather random; the driver doesn't require anything from these headers except the cpu_is_xxx() macros which come from another include. The concern is that it's getting these definitions via mach/system.h, which is supposed to only be included by arch/arm/kernel/process.c. As this header is scheduled for cleanup (and elimination) keeping the status quo will cause build errors. So lets fix properly and independent of the future work. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r--drivers/pcmcia/pxa2xx_cm_x2xx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pcmcia/pxa2xx_cm_x2xx.c b/drivers/pcmcia/pxa2xx_cm_x2xx.c
index 4f09506ad8d4..6e7dcfd22ede 100644
--- a/drivers/pcmcia/pxa2xx_cm_x2xx.c
+++ b/drivers/pcmcia/pxa2xx_cm_x2xx.c
@@ -12,9 +12,8 @@
12 12
13#include <linux/module.h> 13#include <linux/module.h>
14 14
15#include <asm/system.h>
16#include <asm/mach-types.h> 15#include <asm/mach-types.h>
17#include <mach/system.h> 16#include <mach/hardware.h>
18 17
19int cmx255_pcmcia_init(void); 18int cmx255_pcmcia_init(void);
20int cmx270_pcmcia_init(void); 19int cmx270_pcmcia_init(void);