aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi_s3c24xx.c
diff options
context:
space:
mode:
authorBen Dooks <ben@simtec.co.uk>2009-09-22 19:46:12 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 10:39:44 -0400
commit1a0c220f791be9e15fd897adee257e72ed4134f8 (patch)
treef7587012f04513f144e7c24e56d9a3a009864b37 /drivers/spi/spi_s3c24xx.c
parent9ed7ef526ade622cdc22ac365a95197ddd1e09fb (diff)
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/spi_s3c24xx.c')
-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 @@
20#include <linux/clk.h> 20#include <linux/clk.h>
21#include <linux/platform_device.h> 21#include <linux/platform_device.h>
22#include <linux/gpio.h> 22#include <linux/gpio.h>
23#include <linux/io.h>
23 24
24#include <linux/spi/spi.h> 25#include <linux/spi/spi.h>
25#include <linux/spi/spi_bitbang.h> 26#include <linux/spi/spi_bitbang.h>
26 27
27#include <asm/io.h>
28#include <asm/dma.h>
29#include <mach/hardware.h>
30
31#include <plat/regs-spi.h> 28#include <plat/regs-spi.h>
32#include <mach/spi.h> 29#include <mach/spi.h>
33 30