summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorBen Dooks <ben@simtec.co.uk>2009-09-22 16:46:12 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 07:39:44 -0700
commit1a0c220f791be9e15fd897adee257e72ed4134f8 (patch)
treef7587012f04513f144e7c24e56d9a3a009864b37 /drivers/spi
parent9ed7ef526ade622cdc22ac365a95197ddd1e09fb (diff)
downloadlinux-1a0c220f791be9e15fd897adee257e72ed4134f8.tar.gz
linux-1a0c220f791be9e15fd897adee257e72ed4134f8.tar.bz2
linux-1a0c220f791be9e15fd897adee257e72ed4134f8.zip
spi_s3c24xx: fix header includes
The driver includes <asm/io.h> where it should be including <linux/io.h> and also includes <mach/hardware.h> and <asm/dma.h> without using anything from these. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi_s3c24xx.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/spi/spi_s3c24xx.c b/drivers/spi/spi_s3c24xx.c
index 6ba8aece90b5..0be4da0917e0 100644
--- a/drivers/spi/spi_s3c24xx.c
+++ b/drivers/spi/spi_s3c24xx.c
@@ -20,14 +20,11 @@
#include <linux/clk.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
+#include <linux/io.h>
#include <linux/spi/spi.h>
#include <linux/spi/spi_bitbang.h>
-#include <asm/io.h>
-#include <asm/dma.h>
-#include <mach/hardware.h>
-
#include <plat/regs-spi.h>
#include <mach/spi.h>