Skip to content

Commit

Permalink
Extcon: Staticise extcon_class
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown authored and Greg Kroah-Hartman committed Jun 15, 2012
1 parent 2584f52 commit be3a07f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/extcon/extcon_class.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit be3a07f

Please sign in to comment.