From: Mark Brown Date: Tue, 5 Jun 2012 15:14:38 +0000 (+0100) Subject: Extcon: Staticise extcon_class X-Git-Tag: firefly_0821_release~3680^2~2355^2~14^2~13 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=be3a07f71ca3ae300d652a653279321e85b9f3d0;p=firefly-linux-kernel-4.4.55.git Extcon: Staticise extcon_class It's not referenced outside the core file. Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/extcon/extcon_class.c b/drivers/extcon/extcon_class.c index f598a700ec15..99f7227834e3 100644 --- a/drivers/extcon/extcon_class.c +++ b/drivers/extcon/extcon_class.c @@ -65,7 +65,7 @@ const char *extcon_cable_name[] = { NULL, }; -struct class *extcon_class; +static struct class *extcon_class; #if defined(CONFIG_ANDROID) static struct class_compat *switch_class; #endif /* CONFIG_ANDROID */