summaryrefslogtreecommitdiff
path: root/drivers/extcon
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-05 19:14:38 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-15 04:15:25 +0400
commitbe3a07f71ca3ae300d652a653279321e85b9f3d0 (patch)
tree6717c95b0af8b72674482bea4929a50e71223956 /drivers/extcon
parent2584f5212d97b664be250ad5700a2d0fee31a10d (diff)
downloadlinux-be3a07f71ca3ae300d652a653279321e85b9f3d0.tar.xz
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')
-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 f598a700ec15..99f7227834e3 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 */