summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon_class.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-05 16:14:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-14 17:15:25 -0700
commitbe3a07f71ca3ae300d652a653279321e85b9f3d0 (patch)
tree6717c95b0af8b72674482bea4929a50e71223956 /drivers/extcon/extcon_class.c
parent2584f5212d97b664be250ad5700a2d0fee31a10d (diff)
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>
Diffstat (limited to 'drivers/extcon/extcon_class.c')
-rw-r--r--drivers/extcon/extcon_class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon_class.c b/drivers/extcon/extcon_class.c
index f598a700ec1..99f7227834e 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 */