From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752295Ab1LIIZZ (ORCPT ); Fri, 9 Dec 2011 03:25:25 -0500 Received: from tx2ehsobe004.messaging.microsoft.com ([65.55.88.14]:8382 "EHLO TX2EHSOBE009.bigfish.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751855Ab1LIIZX (ORCPT ); Fri, 9 Dec 2011 03:25:23 -0500 X-SpamScore: -11 X-BigFish: VPS-11(zzbb2dI9371I1432N98dKzz1202hzz8275bhz2dh2a8h668h839h93fh61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: CIP:137.71.25.57;KIP:(null);UIP:(null);IPV:NLI;H:nwd2mta2.analog.com;RD:nwd2mail11.analog.com;EFVD:NLI Message-ID: <4EE1C3E4.2060703@analog.com> Date: Fri, 9 Dec 2011 09:16:36 +0100 From: Michael Hennerich Reply-To: Organization: Analog Devices Inc. User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15 MIME-Version: 1.0 To: Axel Lin CC: "linux-kernel@vger.kernel.org" , Michael Hennerich , Naveen Kumar G , Sundar Iyer , Dmitry Torokhov , "linux-input@vger.kernel.org" , "device-drivers-devel@blackfin.uclinux.org" Subject: Re: [PATCH 2/2] Input: keyboard: Staticise non-exported symbols References: <1323394677.3740.2.camel@phoenix> <1323394752.3740.3.camel@phoenix> In-Reply-To: <1323394752.3740.3.camel@phoenix> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-OriginatorOrg: analog.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/09/2011 02:39 AM, Axel Lin wrote: > These symbols are not used outside it's driver so no need to > make the symbol global. > > Signed-off-by: Axel Lin Acked-by: Michael Hennerich > --- > drivers/input/keyboard/bf54x-keys.c | 2 +- > drivers/input/keyboard/nomadik-ske-keypad.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/input/keyboard/bf54x-keys.c b/drivers/input/keyboard/bf54x-keys.c > index 683e314..8eb9116 100644 > --- a/drivers/input/keyboard/bf54x-keys.c > +++ b/drivers/input/keyboard/bf54x-keys.c > @@ -384,7 +384,7 @@ static int bfin_kpad_resume(struct platform_device *pdev) > # define bfin_kpad_resume NULL > #endif > > -struct platform_driver bfin_kpad_device_driver = { > +static struct platform_driver bfin_kpad_device_driver = { > .driver = { > .name = DRV_NAME, > .owner = THIS_MODULE, > diff --git a/drivers/input/keyboard/nomadik-ske-keypad.c b/drivers/input/keyboard/nomadik-ske-keypad.c > index 6c4828f..5a71e55 100644 > --- a/drivers/input/keyboard/nomadik-ske-keypad.c > +++ b/drivers/input/keyboard/nomadik-ske-keypad.c > @@ -379,7 +379,7 @@ static const struct dev_pm_ops ske_keypad_dev_pm_ops = { > }; > #endif > > -struct platform_driver ske_keypad_driver = { > +static struct platform_driver ske_keypad_driver = { > .driver = { > .name = "nmk-ske-keypad", > .owner = THIS_MODULE, -- Greetings, Michael -- Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen Sitz der Gesellschaft: Muenchen; Registergericht: Muenchen HRB 40368; Geschaeftsfuehrer:Dr.Carsten Suckrow, Thomas Wessel, William A. Martin, Margaret Seif