Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20934cdb authored by Ben Dooks's avatar Ben Dooks Committed by Ben Dooks
Browse files

[ARM] S3C24XX: dma.h should not include <mach/hardware.h>



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: default avatarBen Dooks <ben@simtec.co.uk>
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent c133c290
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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>
+0 −1
Original line number Diff line number Diff line
@@ -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  */