On Tue, Nov 24, 2009 at 17:36:19 -0500, Adam Jackson wrote:

> diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
> index e655916..ee84ffe 100644
> --- a/drivers/gpu/drm/drm_edid.c
> +++ b/drivers/gpu/drm/drm_edid.c
> @@ -481,16 +481,17 @@ static struct drm_display_mode drm_dmt_modes[] = {
>                  3048, 3536, 0, 1600, 1603, 1609, 1682, 0,
>                  DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_PVSYNC) },
>  };
> +static const int drm_num_dmt_modes =
> +     sizeof(drm_dmt_modes) / sizeof(struct drm_display_mode);
>  
ARRAY_SIZE(drm_dmt_modes)?

Cheers,
Julien

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to