aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/drm_edid.c5
-rw-r--r--include/drm/drm_crtc.h1
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index dfc7a1ba9360..e01478515820 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -2298,10 +2298,10 @@ add_detailed_modes(struct drm_connector *connector, struct edid *edid,
2298#define EDID_CEA_YCRCB422 (1 << 4) 2298#define EDID_CEA_YCRCB422 (1 << 4)
2299#define EDID_CEA_VCDB_QS (1 << 6) 2299#define EDID_CEA_VCDB_QS (1 << 6)
2300 2300
2301/** 2301/*
2302 * Search EDID for CEA extension block. 2302 * Search EDID for CEA extension block.
2303 */ 2303 */
2304u8 *drm_find_cea_extension(struct edid *edid) 2304static u8 *drm_find_cea_extension(struct edid *edid)
2305{ 2305{
2306 u8 *edid_ext = NULL; 2306 u8 *edid_ext = NULL;
2307 int i; 2307 int i;
@@ -2322,7 +2322,6 @@ u8 *drm_find_cea_extension(struct edid *edid)
2322 2322
2323 return edid_ext; 2323 return edid_ext;
2324} 2324}
2325EXPORT_SYMBOL(drm_find_cea_extension);
2326 2325
2327/* 2326/*
2328 * Calculate the alternate clock for the CEA mode 2327 * Calculate the alternate clock for the CEA mode
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index 0a9f73e8be26..7987eff5dab2 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -1032,7 +1032,6 @@ extern int drm_mode_gamma_get_ioctl(struct drm_device *dev,
1032 void *data, struct drm_file *file_priv); 1032 void *data, struct drm_file *file_priv);
1033extern int drm_mode_gamma_set_ioctl(struct drm_device *dev, 1033extern int drm_mode_gamma_set_ioctl(struct drm_device *dev,
1034 void *data, struct drm_file *file_priv); 1034 void *data, struct drm_file *file_priv);
1035extern u8 *drm_find_cea_extension(struct edid *edid);
1036extern u8 drm_match_cea_mode(const struct drm_display_mode *to_match); 1035extern u8 drm_match_cea_mode(const struct drm_display_mode *to_match);
1037extern bool drm_detect_hdmi_monitor(struct edid *edid); 1036extern bool drm_detect_hdmi_monitor(struct edid *edid);
1038extern bool drm_detect_monitor_audio(struct edid *edid); 1037extern bool drm_detect_monitor_audio(struct edid *edid);