Commit 32687817 authored by Russell King's avatar Russell King Committed by Russell King

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

Avoid unnecessarily pollution of the kernel's namespace by avoiding
mach/hardware.h in mach/io.h.  Include this header file where necessary.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 325045fa
...@@ -28,9 +28,6 @@ ...@@ -28,9 +28,6 @@
#define XBUS_SIZE 0x00100000 #define XBUS_SIZE 0x00100000
#define XBUS_BASE 0xff800000 #define XBUS_BASE 0xff800000
#define PCIO_SIZE 0x00100000
#define PCIO_BASE 0xff000000
#define ARMCSR_SIZE 0x00100000 #define ARMCSR_SIZE 0x00100000
#define ARMCSR_BASE 0xfe000000 #define ARMCSR_BASE 0xfe000000
......
...@@ -14,7 +14,8 @@ ...@@ -14,7 +14,8 @@
#ifndef __ASM_ARM_ARCH_IO_H #ifndef __ASM_ARM_ARCH_IO_H
#define __ASM_ARM_ARCH_IO_H #define __ASM_ARM_ARCH_IO_H
#include <mach/hardware.h> #define PCIO_SIZE 0x00100000
#define PCIO_BASE 0xff000000
#define IO_SPACE_LIMIT 0xffff #define IO_SPACE_LIMIT 0xffff
......
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