diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2010-11-22 20:12:15 -0500 |
---|---|---|
committer | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2010-12-01 06:18:33 -0500 |
commit | 8348c259dd6a6019a8fa01b0a3443409480f7b9d (patch) | |
tree | 4b886c8a8acbad09f27640a78c2083c5bec16c99 /drivers | |
parent | 4a25605fb71f02b4f80091df91f777225a0309c5 (diff) |
arm/pxa2xx: reorgazine SSP and SPI header files
The PXA-SPI driver relies on some files / defines which are arm specific
and are within the ARM tree. The CE4100 SoC which is x86 has also the
SPI core.
This patch moves the ssp and spi files from arm/mach-pxa and plat-pxa to
include/linux where the CE4100 can access them.
This move got verified by building the following defconfigs:
cm_x2xx_defconfig corgi_defconfig em_x270_defconfig ezx_defconfig
imote2_defconfig pxa3xx_defconfig spitz_defconfig zeus_defconfig
raumfeld_defconfig magician_defconfig
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/pxa2xx_spi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/spi/pxa2xx_spi.c b/drivers/spi/pxa2xx_spi.c index 55083445aae6..98d9c8b09182 100644 --- a/drivers/spi/pxa2xx_spi.c +++ b/drivers/spi/pxa2xx_spi.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <linux/errno.h> | 23 | #include <linux/errno.h> |
24 | #include <linux/interrupt.h> | 24 | #include <linux/interrupt.h> |
25 | #include <linux/platform_device.h> | 25 | #include <linux/platform_device.h> |
26 | #include <linux/spi/pxa2xx_spi.h> | ||
26 | #include <linux/dma-mapping.h> | 27 | #include <linux/dma-mapping.h> |
27 | #include <linux/spi/spi.h> | 28 | #include <linux/spi/spi.h> |
28 | #include <linux/workqueue.h> | 29 | #include <linux/workqueue.h> |
@@ -35,9 +36,6 @@ | |||
35 | #include <asm/irq.h> | 36 | #include <asm/irq.h> |
36 | #include <asm/delay.h> | 37 | #include <asm/delay.h> |
37 | 38 | ||
38 | #include <mach/dma.h> | ||
39 | #include <plat/ssp.h> | ||
40 | #include <mach/pxa2xx_spi.h> | ||
41 | 39 | ||
42 | MODULE_AUTHOR("Stephen Street"); | 40 | MODULE_AUTHOR("Stephen Street"); |
43 | MODULE_DESCRIPTION("PXA2xx SSP SPI Controller"); | 41 | MODULE_DESCRIPTION("PXA2xx SSP SPI Controller"); |