[PATCH 10/10] drm/edid: Give the est3 mode struct a real name
Dave Chiluk
chiluk at canonical.com
Wed Jan 30 05:28:31 UTC 2013
From: Adam Jackson <ajax at redhat.com>
BugLink: http://bugs.launchpad.net/bugs/1109112
We want the same type for extra modes inferred from ranges.
Signed-off-by: Adam Jackson <ajax at redhat.com>
Tested-by: Takashi Iwai <tiwai at suse.de>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
(cherry picked from commit cffd75480ceb1cefffb5595b03ce8383d0ba40ad)
Signed-off-by: David Chiluk <chiluk at canonical.com>
---
drivers/gpu/drm/drm_edid_modes.h | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/drm_edid_modes.h b/drivers/gpu/drm/drm_edid_modes.h
index 176d455..dccc45d 100644
--- a/drivers/gpu/drm/drm_edid_modes.h
+++ b/drivers/gpu/drm/drm_edid_modes.h
@@ -320,12 +320,14 @@ static const struct drm_display_mode edid_est_modes[] = {
DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC) }, /* 1152x864 at 75Hz */
};
-static const struct {
+struct minimode {
short w;
short h;
short r;
short rb;
-} est3_modes[] = {
+};
+
+static const struct minimode est3_modes[] = {
/* byte 6 */
{ 640, 350, 85, 0 },
{ 640, 400, 85, 0 },
--
1.7.9.5
More information about the kernel-team
mailing list