Extcon: Staticise extcon_class
PATCH 1/1 Extcon: Staticise extcon_class
It's not referenced outside the core file.
Signed-off-by Mark Brown <[email protected]>
--- drivers/extcon/extcon_class.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/extcon/extcon_class.c +1 -1
@@ -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