[Intel-gfx] [PATCH 1/5] drm/edid: Have drm_edid.h include hdmi.h

Jani Nikula jani.nikula at linux.intel.com
Thu Jan 12 09:22:47 UTC 2017


On Wed, 11 Jan 2017, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> 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 at linux.intel.com>

Reviewed-by: Jani Nikula <jani.nikula at intel.com>


> ---
>  include/drm/drm_edid.h | 3 +--
>  1 file changed, 1 insertion(+), 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 @@
>  #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);

-- 
Jani Nikula, Intel Open Source Technology Center


More information about the dri-devel mailing list