From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thadeu Lima de Souza Cascardo Subject: Re: [PATCH] classmate-laptop: make needlessly global symbols static Date: Wed, 7 Jul 2010 23:42:27 -0300 Message-ID: <20100708024226.GA19890@barata.holoscopio.com> References: <1278553670.7162.4.camel@mola> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0" Return-path: Received: from liberdade2.minaslivre.org ([74.50.53.203]:44893 "EHLO liberdade.minaslivre.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751377Ab0GHCmg (ORCPT ); Wed, 7 Jul 2010 22:42:36 -0400 Content-Disposition: inline In-Reply-To: <1278553670.7162.4.camel@mola> Sender: platform-driver-x86-owner@vger.kernel.org List-ID: To: Axel Lin Cc: linux-kernel , Daniel Oliveira Nascimento , Matthew Garrett , Richard Purdie , Andrew Morton , platform-driver-x86@vger.kernel.org --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 08, 2010 at 09:47:50AM +0800, Axel Lin wrote: > cmpc_accel_sensitivity_attr is needlessly defined global. > This patch makes the symbol static. >=20 > Signed-off-by: Axel Lin > --- > drivers/platform/x86/classmate-laptop.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) >=20 > diff --git a/drivers/platform/x86/classmate-laptop.c b/drivers/platform/x= 86/classmate-laptop.c > index 3bf399f..6c63303 100644 > --- a/drivers/platform/x86/classmate-laptop.c > +++ b/drivers/platform/x86/classmate-laptop.c > @@ -208,7 +208,7 @@ static ssize_t cmpc_accel_sensitivity_store(struct de= vice *dev, > return strnlen(buf, count); > } > =20 > -struct device_attribute cmpc_accel_sensitivity_attr =3D { > +static struct device_attribute cmpc_accel_sensitivity_attr =3D { > .attr =3D { .name =3D "sensitivity", .mode =3D 0660 }, > .show =3D cmpc_accel_sensitivity_show, > .store =3D cmpc_accel_sensitivity_store > --=20 > 1.5.4.3 >=20 >=20 >=20 Acked-by: Thadeu Lima de Souza Cascardo