diff options
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/vesafb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/vesafb.c b/drivers/video/vesafb.c index e6e56b8df2db..8982e540214c 100644 --- a/drivers/video/vesafb.c +++ b/drivers/video/vesafb.c | |||
@@ -417,6 +417,9 @@ static int __init vesafb_probe(struct platform_device *dev) | |||
417 | info->flags = FBINFO_FLAG_DEFAULT | | 417 | info->flags = FBINFO_FLAG_DEFAULT | |
418 | (ypan) ? FBINFO_HWACCEL_YPAN : 0; | 418 | (ypan) ? FBINFO_HWACCEL_YPAN : 0; |
419 | 419 | ||
420 | if (!ypan) | ||
421 | info->fbops->fb_pan_display = NULL; | ||
422 | |||
420 | if (fb_alloc_cmap(&info->cmap, 256, 0) < 0) { | 423 | if (fb_alloc_cmap(&info->cmap, 256, 0) < 0) { |
421 | err = -ENOMEM; | 424 | err = -ENOMEM; |
422 | goto err; | 425 | goto err; |