Skip to contentSkip to conversation

Extcon: Staticise extcon_class

PATCH New Mark Brown 1 participant 1 message Jun 5, 2012 External connector subsystem (extcon)

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 Extcon: Staticise extcon_class

It's not referenced outside the core file.

---
 drivers/extcon/extcon_class.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/extcon/extcon_class.c +1 -1
index f598a70..99f7227 100644
@@ -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 */
Signature · 1 line
1.7.10