diff options
Diffstat (limited to 'drivers/gpu/drm/gma500/framebuffer.c')
| -rw-r--r-- | drivers/gpu/drm/gma500/framebuffer.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/gma500/framebuffer.c b/drivers/gpu/drm/gma500/framebuffer.c index a9d3a4a30ab8..1794ab90b2cc 100644 --- a/drivers/gpu/drm/gma500/framebuffer.c +++ b/drivers/gpu/drm/gma500/framebuffer.c @@ -232,7 +232,7 @@ static int psb_framebuffer_init(struct drm_device *dev,  	 * Reject unknown formats, YUV formats, and formats with more than  	 * 4 bytes per pixel.  	 */ -	info = drm_format_info(mode_cmd->pixel_format); +	info = drm_get_format_info(dev, mode_cmd);  	if (!info || !info->depth || info->cpp[0] > 4)  		return -EINVAL;  | 
