aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/extcon/extcon_class.c1
-rw-r--r--include/linux/extcon.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/extcon/extcon_class.c b/drivers/extcon/extcon_class.c
index 4657ad38164b..f598a700ec15 100644
--- a/drivers/extcon/extcon_class.c
+++ b/drivers/extcon/extcon_class.c
@@ -60,6 +60,7 @@ const char *extcon_cable_name[] = {
60 [EXTCON_SPDIF_OUT] = "SPDIF-out", 60 [EXTCON_SPDIF_OUT] = "SPDIF-out",
61 [EXTCON_VIDEO_IN] = "Video-in", 61 [EXTCON_VIDEO_IN] = "Video-in",
62 [EXTCON_VIDEO_OUT] = "Video-out", 62 [EXTCON_VIDEO_OUT] = "Video-out",
63 [EXTCON_MECHANICAL] = "Mechanical",
63 64
64 NULL, 65 NULL,
65}; 66};
diff --git a/include/linux/extcon.h b/include/linux/extcon.h
index 6495f7731400..cdd401477656 100644
--- a/include/linux/extcon.h
+++ b/include/linux/extcon.h
@@ -66,6 +66,7 @@ enum extcon_cable_name {
66 EXTCON_SPDIF_OUT, 66 EXTCON_SPDIF_OUT,
67 EXTCON_VIDEO_IN, 67 EXTCON_VIDEO_IN,
68 EXTCON_VIDEO_OUT, 68 EXTCON_VIDEO_OUT,
69 EXTCON_MECHANICAL,
69}; 70};
70extern const char *extcon_cable_name[]; 71extern const char *extcon_cable_name[];
71 72