aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-07-20 18:19:44 -0400
committerMatthew Garrett <mjg@redhat.com>2010-08-03 09:48:59 -0400
commitdf92754dddc77003c6be9540ff91bf89fcfce890 (patch)
treeb445cf9210213320caa2de62420430a9a36ed826 /drivers/platform
parentfedae5ad61fc213eda78d4905316eb50e35b6c8f (diff)
classmate-laptop: make needlessly global symbols static
cmpc_accel_sensitivity_attr is needlessly defined global. This patch makes the symbol static. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> Cc: Daniel Oliveira Nascimento <don@syst.com.br> Cc: Matthew Garrett <mjg@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/classmate-laptop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/classmate-laptop.c b/drivers/platform/x86/classmate-laptop.c
index 73ea76e6f21e..341cbfef93ee 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 device *dev,
208 return strnlen(buf, count); 208 return strnlen(buf, count);
209} 209}
210 210
211struct device_attribute cmpc_accel_sensitivity_attr = { 211static struct device_attribute cmpc_accel_sensitivity_attr = {
212 .attr = { .name = "sensitivity", .mode = 0660 }, 212 .attr = { .name = "sensitivity", .mode = 0660 },
213 .show = cmpc_accel_sensitivity_show, 213 .show = cmpc_accel_sensitivity_show,
214 .store = cmpc_accel_sensitivity_store 214 .store = cmpc_accel_sensitivity_store