[PATCH] Export GPIO control symbols from mfp-pxa2xx.c

From: Michael Abbott
Date: Mon May 11 2009 - 02:43:45 EST


With very lightweight board support providing a number of uncommitted GPIO
pins I found that my out of kernel driver needs to call symbols that
aren't actually exported. This patch adds these exports.


Date: Wed, 6 May 2009 12:47:22 +0100
Subject: [PATCH] Export GPIO control symbols from mfp-pxa2xx.c

This allows modules to configure their own GPIO settings if this hasn't
been done at the board level.

Signed-off-by: Michael Abbott <michael.abbott@xxxxxxxxxxxxx>
---
arch/arm/mach-pxa/mfp-pxa2xx.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-pxa/mfp-pxa2xx.c b/arch/arm/mach-pxa/mfp-pxa2xx.c
index 33626de..3f2007a 100644
--- a/arch/arm/mach-pxa/mfp-pxa2xx.c
+++ b/arch/arm/mach-pxa/mfp-pxa2xx.c
@@ -384,3 +384,8 @@ static int __init pxa2xx_mfp_init(void)
return sysdev_class_register(&pxa2xx_mfp_sysclass);
}
postcore_initcall(pxa2xx_mfp_init);
+
+
+EXPORT_SYMBOL(pxa2xx_mfp_config);
+EXPORT_SYMBOL(pxa2xx_mfp_set_lpm);
+EXPORT_SYMBOL(gpio_set_wake);
--
1.6.1.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/