lkml.org 
[lkml]   [2005]   [Oct]   [25]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
Patch in this message
/
Subject[PATCH 01/02] Export Connector Symbol
FromMatt Helsley <>
DateTue, 25 Oct 2005 17:16:25 -0700
        The Process Events Connector uses this symbol to determine if it
should respond to commands from userspace. However the it fails to link
without the EXPORT_SYMBOL_GPL() macro.

Signed-Off-By: Matt Helsley <matthltc @ us.ibm.com> 
--

Resent with the subject line fixed.

---
Index: linux-2.6.14-rc4/drivers/connector/connector.c
===================================================================
--- linux-2.6.14-rc4.orig/drivers/connector/connector.c
+++ linux-2.6.14-rc4/drivers/connector/connector.c
@@ -45,10 +45,11 @@ static DECLARE_MUTEX(notify_lock);
 static LIST_HEAD(notify_list);
 
 static struct cn_dev cdev;
 
 int cn_already_initialized = 0;
+EXPORT_SYMBOL_GPL(cn_already_initialized);
 
 /*
  * msg->seq and msg->ack are used to determine message genealogy.
  * When someone sends message it puts there locally unique sequence
  * and random acknowledge numbers.  Sequence number may be copied into

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

\
 
 \ /
  Last update: 2005-10-26 00:26    [W:0.296 / U:0.810 seconds]
©2003-2008 Jasper Spaans