Skip to contentSkip to conversation

OMAP: clock: export notifier register functions

PATCH In review Omar Ramirez Luna 2 participants 2 messages May 21, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 OMAP: clock: export notifier register functions

From: Gupta, Ramesh <[email protected]>

Hi,

The following patch is required to export some symbols to be used by bridge driver, it was merged in 2.6.28 but seems like it was dropped for later kernels, is it ok to put it back in for linux-omap-pm 2.6.29 and/or linux-omap master?

Regards,

- omar

From: Gupta, Ramesh <[email protected]>
Subject: [PATCH] OMAP: clock: export notifier register functions

This Patch exports symbols clk_notifier_register/unregister function for other kernel modules usage.

---
 arch/arm/plat-omap/clock.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/plat-omap/clock.c +2 -0
index eb354ec..a1a09ef 100644
@@ -738,6 +738,7 @@ cnr_out:
 
 	return r;
 }
+EXPORT_SYMBOL(clk_notifier_register);
 
 /**
  * clk_notifier_unregister - remove a clock change notifier
@@ -788,6 +789,7 @@ cnu_out:
 
 	return r;
 }
+EXPORT_SYMBOL(clk_notifier_unregister);
 
 
 
Signature · 1 line
1.6.2.4
#1 lore raw

Hi Omar,

Quoted 7 lines

-----Original Message-----
From: Ramirez Luna, Omar
Sent: Thursday, May 21, 2009 11:49 AM
To: Kevin Hilman; Tony Lindgren
Cc: linux-omap; Gupta, Ramesh
Subject: [PATCH] OMAP: clock: export notifier register functions

Quoted 8 lines

From: Gupta, Ramesh <[email protected]>

Hi,

The following patch is required to export some symbols to be used by bridge driver, it was merged in 2.6.28 but seems like it was dropped for later kernels, is it ok to put it back in for linux-omap-pm 2.6.29 and/or linux-omap master?

There are some more updated patches available for the clock notifier Register functions([1] & [2]).

We need to call these functions from platform_data , export is not really Required.[3].

Ref[1]: http://marc.info/?l=linux-omap&m=123755561914202&w=2
Ref[2]: http://marc.info/?l=linux-omap&m=123755561914205&w=2

Ref[3]: http://marc.info/?l=linux-omap&m=123788690904660&w=2

Please let me know if you see any issues.

Regards
Ramesh Gupta G