[PATCH v4 1/8] ARC: Remove redundant PCI_IOBASE declaration
Thierry Reding
thierry.reding at gmail.com
Wed Aug 13 03:28:51 PDT 2014
From: Thierry Reding <treding at nvidia.com>
ARC's asm/io.h includes the asm-generic/io.h which already defines the
PCI_IOBASE variable in exactly the same way, so it can be dropped from
the architecture specific header.
Signed-off-by: Thierry Reding <treding at nvidia.com>
---
Changes in v4:
- new patch
arch/arc/include/asm/io.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arc/include/asm/io.h b/arch/arc/include/asm/io.h
index 334ce7017a18..cabd518cb253 100644
--- a/arch/arc/include/asm/io.h
+++ b/arch/arc/include/asm/io.h
@@ -13,8 +13,6 @@
#include <asm/byteorder.h>
#include <asm/page.h>
-#define PCI_IOBASE ((void __iomem *)0)
-
extern void __iomem *ioremap(unsigned long physaddr, unsigned long size);
extern void __iomem *ioremap_prot(phys_addr_t offset, unsigned long size,
unsigned long flags);
--
2.0.4
More information about the linux-arm-kernel
mailing list