aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2017-01-11 07:57:21 -0500
committerVille Syrjälä <ville.syrjala@linux.intel.com>2017-01-26 11:37:13 -0500
commit00147934598478f7fbd0a4ce5380f2fecad542b5 (patch)
tree9ee68b7e7c5e6e73c8048760c14e2550d4c609a4
parent6f15f84c38d1d4f389f41b947b9b884d32ddb884 (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>
-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 38eabf65f19d..838eaf2b42e9 100644
--- a/include/drm/drm_edid.h
+++ b/include/drm/drm_edid.h
@@ -24,6 +24,7 @@
24#define __DRM_EDID_H__ 24#define __DRM_EDID_H__
25 25
26#include <linux/types.h> 26#include <linux/types.h>
27#include <linux/hdmi.h>
27 28
28struct drm_device; 29struct drm_device;
29struct i2c_adapter; 30struct i2c_adapter;
@@ -322,8 +323,6 @@ struct cea_sad {
322struct drm_encoder; 323struct drm_encoder;
323struct drm_connector; 324struct drm_connector;
324struct drm_display_mode; 325struct drm_display_mode;
325struct hdmi_avi_infoframe;
326struct hdmi_vendor_infoframe;
327 326
328void drm_edid_to_eld(struct drm_connector *connector, struct edid *edid); 327void drm_edid_to_eld(struct drm_connector *connector, struct edid *edid);
329int drm_edid_to_sad(struct edid *edid, struct cea_sad **sads); 328int drm_edid_to_sad(struct edid *edid, struct cea_sad **sads);