Commit 0114cb40 authored by Russell King's avatar Russell King Committed by Russell King

[ARM] iop3xx: avoid polluting the kernel's namespace

Avoid unnecessarily pollution of the kernel's namespace by avoiding
mach/hardware.h in mach/io.h, mach/memory.h and mach/timex.h.  Include
this header file where necessary.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 47190a33
......@@ -11,7 +11,7 @@
#ifndef __IO_H
#define __IO_H
#include <mach/hardware.h>
#include <asm/hardware/iop3xx.h>
extern void __iomem *__iop3xx_ioremap(unsigned long cookie, size_t size,
unsigned int mtype);
......
......@@ -5,8 +5,6 @@
#ifndef __MEMORY_H
#define __MEMORY_H
#include <mach/hardware.h>
/*
* Physical DRAM offset.
*/
......
......@@ -7,8 +7,9 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <asm/mach-types.h>
#include <asm/hardware/iop3xx.h>
#include <mach/n2100.h>
static inline void arch_idle(void)
{
......
......@@ -3,7 +3,4 @@
*
* IOP32x architecture timex specifications
*/
#include <mach/hardware.h>
#define CLOCK_TICK_RATE (100 * HZ)
......@@ -11,7 +11,7 @@
#ifndef __IO_H
#define __IO_H
#include <mach/hardware.h>
#include <asm/hardware/iop3xx.h>
extern void __iomem *__iop3xx_ioremap(unsigned long cookie, size_t size,
unsigned int mtype);
......
......@@ -5,8 +5,6 @@
#ifndef __MEMORY_H
#define __MEMORY_H
#include <mach/hardware.h>
/*
* Physical DRAM offset.
*/
......
......@@ -3,7 +3,4 @@
*
* IOP3xx architecture timex specifications
*/
#include <mach/hardware.h>
#define CLOCK_TICK_RATE (100 * HZ)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment