Commit 674c0453 authored by Russell King's avatar Russell King Committed by Russell King

[ARM] 3/4: Remove asm/hardware.h from SA1100 io.h

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent c6b8fdad
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <asm/cacheflush.h> #include <asm/cacheflush.h>
#include <asm/hardware.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/tlbflush.h> #include <asm/tlbflush.h>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <linux/mtd/partitions.h> #include <linux/mtd/partitions.h>
#include <linux/mtd/concat.h> #include <linux/mtd/concat.h>
#include <asm/hardware.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/sizes.h> #include <asm/sizes.h>
#include <asm/mach/flash.h> #include <asm/mach/flash.h>
......
...@@ -21,13 +21,6 @@ ...@@ -21,13 +21,6 @@
#define UNCACHEABLE_ADDR 0xfa050000 #define UNCACHEABLE_ADDR 0xfa050000
/*
* We requires absolute addresses i.e. (PCMCIA_IO_0_BASE + 0x3f8) for
* in*()/out*() macros to be usable for all cases.
*/
#define PCIO_BASE 0
/* /*
* SA1100 internal I/O mappings * SA1100 internal I/O mappings
* *
......
...@@ -18,7 +18,11 @@ ...@@ -18,7 +18,11 @@
* We don't actually have real ISA nor PCI buses, but there is so many * We don't actually have real ISA nor PCI buses, but there is so many
* drivers out there that might just work if we fake them... * drivers out there that might just work if we fake them...
*/ */
#define __io(a) ((void __iomem *)(PCIO_BASE + (a))) static inline void __iomem *__io(unsigned long addr)
{
return (void __iomem *)addr;
}
#define __io(a) __io(a)
#define __mem_pci(a) (a) #define __mem_pci(a) (a)
#define __mem_isa(a) (a) #define __mem_isa(a) (a)
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
* Copyright (c) 1999 Nicolas Pitre <nico@cam.org> * Copyright (c) 1999 Nicolas Pitre <nico@cam.org>
*/ */
#include <linux/config.h> #include <linux/config.h>
#include <asm/hardware.h>
static inline void arch_idle(void) static inline void arch_idle(void)
{ {
......
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