Browse Source

Extcon: Staticise extcon_class

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>
Mark Brown 13 years ago
parent
commit
be3a07f71c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/extcon/extcon_class.c

+ 1 - 1
drivers/extcon/extcon_class.c

@@ -65,7 +65,7 @@ const char *extcon_cable_name[] = {
 	NULL,
 	NULL,
 };
 };
 
 
-struct class *extcon_class;
+static struct class *extcon_class;
 #if defined(CONFIG_ANDROID)
 #if defined(CONFIG_ANDROID)
 static struct class_compat *switch_class;
 static struct class_compat *switch_class;
 #endif /* CONFIG_ANDROID */
 #endif /* CONFIG_ANDROID */