Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932504AbVJZAX4 (ORCPT ); Tue, 25 Oct 2005 20:23:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932505AbVJZAXz (ORCPT ); Tue, 25 Oct 2005 20:23:55 -0400 Received: from e32.co.us.ibm.com ([32.97.110.150]:48545 "EHLO e32.co.us.ibm.com") by vger.kernel.org with ESMTP id S932504AbVJZAXz (ORCPT ); Tue, 25 Oct 2005 20:23:55 -0400 Subject: [PATCH 01/02] Export Connector Symbol From: Matt Helsley To: Andrew Morton Cc: LKML , Evgeniy Polyakov , Jean-Pierre Dion , Jesse Barnes , Guillaume Thouvenin , Badari Pulavarty , Ram Pai , CKRM-Tech , Erich Focht , elsa-devel , Gerrit Huizenga , Adrian Bunk , "Chandra S. Seetharaman" In-Reply-To: <1130285260.10680.194.camel@stark> References: <1130285260.10680.194.camel@stark> Content-Type: text/plain Date: Tue, 25 Oct 2005 17:16:25 -0700 Message-Id: <1130285785.10680.205.camel@stark> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1170 Lines: 35 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 -- 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/