]> err.no Git - linux-2.6/blobdiff - drivers/video/vesafb.c
[PARISC] stifb: Remove obsolete MODULE_PARM()
[linux-2.6] / drivers / video / vesafb.c
index e6e56b8df2db29a724a06b2ec6b50e5421e5326b..8982e540214c56b2de7d0299ce8c15258d76fc83 100644 (file)
@@ -417,6 +417,9 @@ static int __init vesafb_probe(struct platform_device *dev)
        info->flags = FBINFO_FLAG_DEFAULT |
                (ypan) ? FBINFO_HWACCEL_YPAN : 0;
 
+       if (!ypan)
+               info->fbops->fb_pan_display = NULL;
+
        if (fb_alloc_cmap(&info->cmap, 256, 0) < 0) {
                err = -ENOMEM;
                goto err;