Skip to content

Commit

Permalink
[ARM] footbridge: avoid polluting the kernel's namespace
Browse files Browse the repository at this point in the history
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: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Nov 28, 2008
1 parent 325045f commit 3268781
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions arch/arm/mach-footbridge/include/mach/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
#define XBUS_SIZE 0x00100000
#define XBUS_BASE 0xff800000

#define PCIO_SIZE 0x00100000
#define PCIO_BASE 0xff000000

#define ARMCSR_SIZE 0x00100000
#define ARMCSR_BASE 0xfe000000

Expand Down
3 changes: 2 additions & 1 deletion arch/arm/mach-footbridge/include/mach/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
#ifndef __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

Expand Down

0 comments on commit 3268781

Please sign in to comment.