public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] m68knommu: export clk_* symbols in clk.c
@ 2009-11-13 20:18 Steven King
  2009-11-16  0:48 ` Greg Ungerer
  0 siblings, 1 reply; 2+ messages in thread
From: Steven King @ 2009-11-13 20:18 UTC (permalink / raw)
  To: uclinux-dev; +Cc: Greg Ungerer, linux-kernel

export the clk_*  stubs defined in arch/m68knommu/platform/coldfire/clk.c so
they can be used by modules.

Signed-off-by: Steven King <sfking@fdwdc.com>
---

 arch/m68knommu/platform/coldfire/clk.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)


diff --git a/arch/m68knommu/platform/coldfire/clk.c b/arch/m68knommu/platform/coldfire/clk.c
index 7cdbf44..9f1260c 100644
--- a/arch/m68knommu/platform/coldfire/clk.c
+++ b/arch/m68knommu/platform/coldfire/clk.c
@@ -9,6 +9,7 @@
 /***************************************************************************/
 
 #include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/clk.h>
 #include <asm/coldfire.h>
 
@@ -18,23 +19,27 @@ struct clk *clk_get(struct device *dev, const char *id)
 {
 	return NULL;
 }
+EXPORT_SYMBOL(clk_get);
 
 int clk_enable(struct clk *clk)
 {
 	return 0;
 }
+EXPORT_SYMBOL(clk_enable);
 
 void clk_disable(struct clk *clk)
 {
 }
+EXPORT_SYMBOL(clk_disable);
 
 void clk_put(struct clk *clk)
 {
 }
+EXPORT_SYMBOL(clk_put);
 
 unsigned long clk_get_rate(struct clk *clk)
 {
 	return MCF_CLK;
 }
-
+EXPORT_SYMBOL(clk_get_rate);
 /***************************************************************************/

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] m68knommu: export clk_* symbols in clk.c
  2009-11-13 20:18 [PATCH] m68knommu: export clk_* symbols in clk.c Steven King
@ 2009-11-16  0:48 ` Greg Ungerer
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Ungerer @ 2009-11-16  0:48 UTC (permalink / raw)
  To: Steven King; +Cc: uclinux-dev, linux-kernel

Hi Steven,

Steven King wrote:
> export the clk_*  stubs defined in arch/m68knommu/platform/coldfire/clk.c so
> they can be used by modules.
> 
> Signed-off-by: Steven King <sfking@fdwdc.com>

Looks good, thanks.
Applied to for-linus branch of:

git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git

Regards
Greg



>  arch/m68knommu/platform/coldfire/clk.c |    7 ++++++-
>  1 files changed, 6 insertions(+), 1 deletions(-)
> 
> 
> diff --git a/arch/m68knommu/platform/coldfire/clk.c b/arch/m68knommu/platform/coldfire/clk.c
> index 7cdbf44..9f1260c 100644
> --- a/arch/m68knommu/platform/coldfire/clk.c
> +++ b/arch/m68knommu/platform/coldfire/clk.c
> @@ -9,6 +9,7 @@
>  /***************************************************************************/
>  
>  #include <linux/kernel.h>
> +#include <linux/module.h>
>  #include <linux/clk.h>
>  #include <asm/coldfire.h>
>  
> @@ -18,23 +19,27 @@ struct clk *clk_get(struct device *dev, const char *id)
>  {
>  	return NULL;
>  }
> +EXPORT_SYMBOL(clk_get);
>  
>  int clk_enable(struct clk *clk)
>  {
>  	return 0;
>  }
> +EXPORT_SYMBOL(clk_enable);
>  
>  void clk_disable(struct clk *clk)
>  {
>  }
> +EXPORT_SYMBOL(clk_disable);
>  
>  void clk_put(struct clk *clk)
>  {
>  }
> +EXPORT_SYMBOL(clk_put);
>  
>  unsigned long clk_get_rate(struct clk *clk)
>  {
>  	return MCF_CLK;
>  }
> -
> +EXPORT_SYMBOL(clk_get_rate);
>  /***************************************************************************/
> 


-- 
------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     gerg@snapgear.com
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-16  0:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-13 20:18 [PATCH] m68knommu: export clk_* symbols in clk.c Steven King
2009-11-16  0:48 ` Greg Ungerer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox