]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
[ARM] S3C24XX: dma.h should not include <mach/hardware.h>
authorBen Dooks <ben@simtec.co.uk>
Thu, 19 Mar 2009 15:02:38 +0000 (15:02 +0000)
committerBen Dooks <ben-linux@fluff.org>
Fri, 1 May 2009 10:39:07 +0000 (11:39 +0100)
The dma.h header does not need to include <mach/hardware.h> as there
is nothing it depends on. Remove the include and fixup the couple of
places where <mach/map.h> was not explicitly included (dragged in
via <mach/hardware.h>)

Note, we have to fix arch/arm/plat-s3c24xx/pm.c which seems to rely
on having <mach/hardware.h> included by this method.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c2410/dma.c
arch/arm/mach-s3c2410/include/mach/dma.h

index aba159f7bb2c160be5652fb942592447d46bbbb0..dbf96e60d99263dacc501094705aa1fe12caaa90 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/sysdev.h>
 #include <linux/serial_core.h>
 
+#include <mach/map.h>
 #include <mach/dma.h>
 
 #include <plat/cpu.h>
index 2fbabecf4f6e8eed02f3459fbaad03539fd5cbe9..1648311c7b47c54286210b958ed2b8315f112d97 100644 (file)
@@ -15,7 +15,6 @@
 
 #include <plat/dma.h>
 #include <linux/sysdev.h>
-#include <mach/hardware.h>
 
 #define MAX_DMA_TRANSFER_SIZE   0x100000 /* Data Unit is half word  */