Skip to contentSkip to conversation

ARM: plat-mxc: Remove unused imx_ioremap

PATCH New Fabio Estevam 2 participants 2 messages Aug 8, 2012 – Aug 10, 2012

Subsystems (3)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: plat-mxc: Remove unused imx_ioremap

From: Fabio Estevam <[email protected]>

imx_ioremap is no longer used on imx platforms, so remove it.

As the EXPORT_SYMBOL_GPL is removed, it is also safe to remove the module.h header.

---
 arch/arm/plat-mxc/system.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
arch/arm/plat-mxc/system.c +0 -4
index 1996c3e..3da78cf 100644
@@ -21,7 +21,6 @@
 #include <linux/io.h>
 #include <linux/err.h>
 #include <linux/delay.h>
-#include <linux/module.h>
 
 #include <mach/hardware.h>
 #include <mach/common.h>
@@ -29,9 +28,6 @@
 #include <asm/proc-fns.h>
 #include <asm/mach-types.h>
 
-void __iomem *(*imx_ioremap)(unsigned long, size_t, unsigned int) = NULL;
-EXPORT_SYMBOL_GPL(imx_ioremap);
-
 static void __iomem *wdog_base;
 
 /*
Signature · 1 line
1.7.1
maintainer Applied
#1 lore raw

PATCH 1/1 ARM: plat-mxc: Remove unused imx_ioremap

Quoted 7 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

imx_ioremap is no longer used on imx platforms, so remove it.

As the EXPORT_SYMBOL_GPL is removed, it is also safe to remove the module.h header.

Applied, thanks

Sascha

Quoted 30 lines
---
 arch/arm/plat-mxc/system.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
arch/arm/plat-mxc/system.c +0 -4
index 1996c3e..3da78cf 100644
@@ -21,7 +21,6 @@
 #include <linux/io.h>
 #include <linux/err.h>
 #include <linux/delay.h>
-#include <linux/module.h>
 
 #include <mach/hardware.h>
 #include <mach/common.h>
@@ -29,9 +28,6 @@
 #include <asm/proc-fns.h>
 #include <asm/mach-types.h>
 
-void __iomem *(*imx_ioremap)(unsigned long, size_t, unsigned int) = NULL;
-EXPORT_SYMBOL_GPL(imx_ioremap);
-
 static void __iomem *wdog_base;
 
 /*
Signature · 1 line
1.7.1
Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |