浏览代码

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 年之前
父节点
当前提交
be3a07f71c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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,
 };
 
-struct class *extcon_class;
+static struct class *extcon_class;
 #if defined(CONFIG_ANDROID)
 static struct class_compat *switch_class;
 #endif /* CONFIG_ANDROID */