Skip to content

Commit

Permalink
drm/edid: Have drm_edid.h include hdmi.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ville Syrjälä committed Jan 26, 2017
1 parent 6f15f84 commit 0014793
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/drm/drm_edid.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#define __DRM_EDID_H__

#include <linux/types.h>
#include <linux/hdmi.h>

struct drm_device;
struct i2c_adapter;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 0014793

Please sign in to comment.