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 f598a700ec15e06d808bd2e00b3bbe86c91be5a2..99f7227834e36c5835827f9863ffe0aaeb432207 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 */