Skip to content

Commit

Permalink
[ARM] ixp4xx: clean up includes
Browse files Browse the repository at this point in the history
mach/io.h doesn't need linux/mm.h.
mach/dma.h doesn't need linux/device.h, asm/page.h or mach/hardware.h

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Nov 28, 2008
1 parent 32643fe commit 4b78a9f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions arch/arm/mach-ixp4xx/include/mach/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@
#ifndef __ASM_ARCH_DMA_H
#define __ASM_ARCH_DMA_H

#include <linux/device.h>
#include <asm/page.h>
#include <asm/memory.h>
#include <asm/sizes.h>
#include <mach/hardware.h>

#define MAX_DMA_ADDRESS (PAGE_OFFSET + SZ_64M)

Expand Down
2 changes: 0 additions & 2 deletions arch/arm/mach-ixp4xx/include/mach/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ extern int ixp4xx_pci_write(u32 addr, u32 cmd, u32 data);

#else

#include <linux/mm.h>

/*
* In the case of using indirect PCI, we simply return the actual PCI
* address and our read/write implementation use that to drive the
Expand Down

0 comments on commit 4b78a9f

Please sign in to comment.