From: Axel Lin Date: Tue, 20 Jul 2010 22:19:44 +0000 (-0700) Subject: classmate-laptop: make needlessly global symbols static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=df92754dddc77003c6be9540ff91bf89fcfce890;p=linux-beck.git 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 Acked-by: Thadeu Lima de Souza Cascardo Cc: Daniel Oliveira Nascimento Cc: Matthew Garrett Signed-off-by: Andrew Morton Signed-off-by: Matthew Garrett --- 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, return strnlen(buf, count); } -struct device_attribute cmpc_accel_sensitivity_attr = { +static struct device_attribute cmpc_accel_sensitivity_attr = { .attr = { .name = "sensitivity", .mode = 0660 }, .show = cmpc_accel_sensitivity_show, .store = cmpc_accel_sensitivity_store