From: Aaro Koskinen Date: Mon, 29 Aug 2011 20:14:18 +0000 (+0300) Subject: staging: xgifb: fix ypan disable option X-Git-Tag: MMI-PSA29.97-13-9~18234^2^2~809 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3f5042dfb4eedd11d5fbe10dda4605fe8d7890c1;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index edd9b614e202..eca5ed74feb5 100644 --- a/drivers/staging/xgifb/XGI_main_26.c +++ b/drivers/staging/xgifb/XGI_main_26.c @@ -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;