Patchwork [2/3] UBUNTU: [Upstream] Export some platform pointers.

login
register
mail settings
Submitter Tim Gardner
Date June 29, 2010, 7:25 p.m.
Message ID <1277839557-31013-3-git-send-email-tim.gardner@canonical.com>
Download mbox | patch
Permalink /patch/57305/
State Rejected
Headers show

Comments

Tim Gardner - June 29, 2010, 7:25 p.m.
This is a bad idea. I think these pointers should be wrappered by
access functions that implement some locking. However, some of these
syslink modules cannot be built as modules without.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
---
 drivers/dsp/syslink/multicore_ipc/platform.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Patch

diff --git a/drivers/dsp/syslink/multicore_ipc/platform.c b/drivers/dsp/syslink/multicore_ipc/platform.c
index d1c62e7..92d4536 100644
--- a/drivers/dsp/syslink/multicore_ipc/platform.c
+++ b/drivers/dsp/syslink/multicore_ipc/platform.c
@@ -232,9 +232,13 @@ 
  *  ============================================================================
  */
 void *platform_notifydrv_handle;
+EXPORT_SYMBOL(platform_notifydrv_handle);
 
 struct pm_event *pm_event;
+EXPORT_SYMBOL(pm_event);
+
 struct sms *rcb_table;
+EXPORT_SYMBOL(rcb_table);
 
 /* Handles for SysM3 */
 void *platform_nsrn_gate_handle_sysm3;