drm/edid: Give the est3 mode struct a real name
authorAdam Jackson <ajax@redhat.com>
Fri, 13 Apr 2012 20:33:38 +0000 (16:33 -0400)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Apr 2012 11:57:42 +0000 (12:57 +0100)
We want the same type for extra modes inferred from ranges.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Tested-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid_modes.h

index 8bf8235f8ba41ccb246f7125359cfed3326cdb56..c212133ca36c0196f228850ae249d0e9e796dbd3 100644 (file)
@@ -412,12 +412,14 @@ static const struct drm_display_mode edid_est_modes[] = {
                   DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC) }, /* 1152x864@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 },