summaryrefslogtreecommitdiffstats
path: root/target/linux/orion/patches/009-delete_unused_IO_SPACE_REMAP_define.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/orion/patches/009-delete_unused_IO_SPACE_REMAP_define.patch')
-rw-r--r--target/linux/orion/patches/009-delete_unused_IO_SPACE_REMAP_define.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/orion/patches/009-delete_unused_IO_SPACE_REMAP_define.patch b/target/linux/orion/patches/009-delete_unused_IO_SPACE_REMAP_define.patch
new file mode 100644
index 000000000..222a6dabc
--- /dev/null
+++ b/target/linux/orion/patches/009-delete_unused_IO_SPACE_REMAP_define.patch
@@ -0,0 +1,17 @@
+This define isn't used anywhere in the kernel tree -- nuke it.
+
+Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
+---
+ include/asm-arm/arch-orion5x/io.h | 1 -
+ 1 files changed, 0 insertions(+), 1 deletions(-)
+
+--- a/include/asm-arm/arch-orion5x/io.h
++++ b/include/asm-arm/arch-orion5x/io.h
+@@ -14,7 +14,6 @@
+ #include "orion5x.h"
+
+ #define IO_SPACE_LIMIT 0xffffffff
+-#define IO_SPACE_REMAP ORION5X_PCI_SYS_IO_BASE
+
+ static inline void __iomem *
+ __arch_ioremap(unsigned long paddr, size_t size, unsigned int mtype)