ARM: PXA: fix includes in pxa2xx_cm_x2xx PCMCIA driver
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 5 Nov 2011 22:06:17 +0000 (22:06 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 5 Nov 2011 22:26:46 +0000 (22:26 +0000)
commit7a3f8de5a3c36e5fde130cae74a06663b59837ae
tree71cbf9c7ac4b1f7ad53bd033a188b16d82543feb
parent7124cb96cadc5f9990ade39780b672b01bfc6484
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>
drivers/pcmcia/pxa2xx_cm_x2xx.c