]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
drm/edid: Have drm_edid.h include hdmi.h
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 11 Jan 2017 12:57:21 +0000 (14:57 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 26 Jan 2017 16:37:13 +0000 (18:37 +0200)
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>
include/drm/drm_edid.h

index 38eabf65f19df05a005ad12984f3c628ae40628a..838eaf2b42e95335d4b7d537b7e5e0f4c1033bc7 100644 (file)
@@ -24,6 +24,7 @@
 #define __DRM_EDID_H__
 
 #include <linux/types.h>
+#include <linux/hdmi.h>
 
 struct drm_device;
 struct i2c_adapter;
@@ -322,8 +323,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);