staging: xgifb: fix ypan disable option
authorAaro Koskinen <aaro.koskinen@iki.fi>
Mon, 29 Aug 2011 20:14:18 +0000 (23:14 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Sep 2011 18:41:20 +0000 (11:41 -0700)
Setting any of the FB options will disable ypan as a side effect. It
should be disabled only by the "noypan" option.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/xgifb/XGI_main_26.c

index edd9b614e202f7e36ff18512675cf4852fff5c54..eca5ed74feb59faa44fc94732b67f00d00f2de73 100644 (file)
@@ -1994,10 +1994,6 @@ static int __init XGIfb_setup(char *options)
                        /* printk(KERN_INFO "XGIfb: Invalid option %s\n",
                                  this_opt); */
                }
-
-               /* TW: Panning only with acceleration */
-               XGIfb_ypan = 0;
-
        }
        printk("\nxgifb: outa xgifb_setup 3450");
        return 0;