summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2017-01-11 14:57:21 +0200
committerGerrit - the friendly Code Review server <code-review@localhost>2019-07-26 10:42:50 -0700
commit5a248c6ff97b5f6d8b1b8e5ac1bede47d4e2d75e (patch)
tree9bb85c6d9a0da09b43add0a52380b90c3fcd2e11 /include
parent4ffca2196726fe43f5f761f543f5589a3b843b99 (diff)
drm/edid: Have drm_edid.h include hdmi.h
drm_edid.h depends on hdmi.h on account of enum hdmi_picture_aspect, so let's just include hdmi.h and drop some useless struct declarations. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170111125725.8086-2-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com> Acked-by: Eric Anholt <eric@anholt.net> Git-commit: 00147934598478f7fbd0a4ce5380f2fecad542b5 Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Change-Id: I9f51968fd442fea75960fdeed752904ba8b8ba05 Signed-off-by: Tanmay Shah <tanmay@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_edid.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h
index 4c390f91e137..ef8b6dcfb474 100644
--- a/include/drm/drm_edid.h
+++ b/include/drm/drm_edid.h
@@ -24,6 +24,7 @@
#define __DRM_EDID_H__
#include <linux/types.h>
+#include <linux/hdmi.h>
#define EDID_LENGTH 128
#define DDC_ADDR 0x50
@@ -338,8 +339,6 @@ struct cea_sad {
struct drm_encoder;
struct drm_connector;
struct drm_display_mode;
-struct hdmi_avi_infoframe;
-struct hdmi_vendor_infoframe;
void drm_edid_to_eld(struct drm_connector *connector, struct edid *edid);
int drm_edid_to_sad(struct edid *edid, struct cea_sad **sads);