[PATCH v4 06/13] [POWERPC] Use EXPORT_SYMBOL_GPL for 52xx common routines symbol export

Marian Balakowicz m8 at semihalf.com
Sat Nov 10 04:12:14 EST 2007


Replace EXPORT_SYMBOL with EXPORT_SYMBOL_GPL in mpc52xx_common.c

Signed-off-by: Marian Balakowicz <m8 at semihalf.com>
---

 arch/powerpc/platforms/52xx/mpc52xx_common.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)


diff --git a/arch/powerpc/platforms/52xx/mpc52xx_common.c b/arch/powerpc/platforms/52xx/mpc52xx_common.c
index 7224bfe..c9e1ab9 100644
--- a/arch/powerpc/platforms/52xx/mpc52xx_common.c
+++ b/arch/powerpc/platforms/52xx/mpc52xx_common.c
@@ -55,16 +55,14 @@ mpc52xx_find_and_map(const char *compatible)
 	return mpc52xx_map_node(
 		of_find_compatible_node(NULL, NULL, compatible));
 }
-
-EXPORT_SYMBOL(mpc52xx_find_and_map);
+EXPORT_SYMBOL_GPL(mpc52xx_find_and_map);
 
 void __iomem *
 mpc52xx_find_and_map_path(const char *path)
 {
 	return mpc52xx_map_node(of_find_node_by_path(path));
 }
-
-EXPORT_SYMBOL(mpc52xx_find_and_map_path);
+EXPORT_SYMBOL_GPL(mpc52xx_find_and_map_path);
 
 /**
  * 	mpc52xx_find_ipb_freq - Find the IPB bus frequency for a device
@@ -93,7 +91,7 @@ mpc52xx_find_ipb_freq(struct device_node *node)
 
 	return p_ipb_freq ? *p_ipb_freq : 0;
 }
-EXPORT_SYMBOL(mpc52xx_find_ipb_freq);
+EXPORT_SYMBOL_GPL(mpc52xx_find_ipb_freq);
 
 
 /*




More information about the Linuxppc-dev mailing list