diff options
author | Aaro Koskinen | 2011-10-11 20:47:22 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2011-10-12 17:51:46 +0200 |
commit | ccf265ad5744263efba22b7c7a31f2dab198d653 (patch) | |
tree | 5c929ce338cc0fc7c357a39f084148d8a08208c2 /drivers/staging/xgifb/XGI_main.h | |
parent | staging: xgifb: eliminate XGIfb_mode_no (diff) | |
download | kernel-qcow2-linux-ccf265ad5744263efba22b7c7a31f2dab198d653.tar.gz kernel-qcow2-linux-ccf265ad5744263efba22b7c7a31f2dab198d653.tar.xz kernel-qcow2-linux-ccf265ad5744263efba22b7c7a31f2dab198d653.zip |
staging: xgifb: move xgifb_mode_idx into xgifb_video_info
The current mode index should be stored in the device-specific data
allocated in probe().
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/xgifb/XGI_main.h')
-rw-r--r-- | drivers/staging/xgifb/XGI_main.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/xgifb/XGI_main.h b/drivers/staging/xgifb/XGI_main.h index ec288a41e219..54597f52af24 100644 --- a/drivers/staging/xgifb/XGI_main.h +++ b/drivers/staging/xgifb/XGI_main.h @@ -353,7 +353,6 @@ static struct _XGIbios_mode { }; /* mode-related variables */ -static int xgifb_mode_idx = -1; static u8 XGIfb_rate_idx; /* TW: CR36 evaluation */ |