Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df92754d authored by Axel Lin's avatar Axel Lin Committed by Matthew Garrett
Browse files

classmate-laptop: make needlessly global symbols static



cmpc_accel_sensitivity_attr is needlessly defined global.
This patch makes the symbol static.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Cc: Daniel Oliveira Nascimento <don@syst.com.br>
Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent fedae5ad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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