Skip to content

Commit

Permalink
staging: xgifb: fix ypan disable option
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Sep 6, 2011
1 parent e1b7f91 commit 3f5042d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3f5042d

Please sign in to comment.