Extcon: Staticise extcon_class
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 5 Jun 2012 15:14:38 +0000 (16:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Jun 2012 00:15:25 +0000 (17:15 -0700)
It's not referenced outside the core file.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/extcon/extcon_class.c

index f598a70..99f7227 100644 (file)
@@ -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 */