* [PATCH] Extcon: Staticise extcon_class
@ 2012-06-05 15:14 Mark Brown
0 siblings, 0 replies; only message in thread
From: Mark Brown @ 2012-06-05 15:14 UTC (permalink / raw)
To: Greg Kroah-Hartman, Myungjoo Ham
Cc: Kyungmin Park, Chanwoo Choi, linux-kernel, Mark Brown
It's not referenced outside the core file.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
drivers/extcon/extcon_class.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/extcon/extcon_class.c b/drivers/extcon/extcon_class.c
index f598a70..99f7227 100644
--- a/drivers/extcon/extcon_class.c
+++ b/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 */
--
1.7.10
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-06-05 15:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-05 15:14 [PATCH] Extcon: Staticise extcon_class Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®