staging: xgifb: fix ypan disable option

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>
This commit is contained in:
Aaro Koskinen 2011-08-29 23:14:18 +03:00 committed by Greg Kroah-Hartman
parent e1b7f9155e
commit 3f5042dfb4

View 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;