classmate-laptop: make needlessly global symbols static
Subsystems (3)
PATCH 13/26 classmate-laptop: make needlessly global symbols static
From: Axel Lin <[email protected]>
cmpc_accel_sensitivity_attr is needlessly defined global. This patch makes the symbol static.
Signed-off-by Axel Lin <[email protected]>
Cc Daniel Oliveira Nascimento <[email protected]>
Cc Matthew Garrett <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/platform/x86/classmate-laptop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/classmate-laptop.c renamed from drivers/platform/x86/classmate-laptop.c~classmate-laptop-make-needlessly-global-symbols-static +1 -1
@@ -208,7 +208,7 @@ static ssize_t cmpc_accel_sensitivity_streturn 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
_