summaryrefslogtreecommitdiffstats
path: root/drivers/extcon
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-05 17:14:38 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-15 02:15:25 +0200
commitbe3a07f71ca3ae300d652a653279321e85b9f3d0 (patch)
tree6717c95b0af8b72674482bea4929a50e71223956 /drivers/extcon
parentstable: update references to older 2.6 versions for 3.x (diff)
downloadlinux-be3a07f71ca3ae300d652a653279321e85b9f3d0.tar.xz
linux-be3a07f71ca3ae300d652a653279321e85b9f3d0.zip
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 */