diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2012-11-04 21:15:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-13 12:54:24 -0800 |
commit | e8e6c754e50fd05f8e44cd88fddb948d9c1e6740 (patch) | |
tree | f9bcc2745955d6279cd3d5a7b56e26b5be70a36b /drivers/staging/xgifb/vb_table.h | |
parent | staging: xgifb: eliminate pVBInfo->ScreenOffset (diff) | |
download | linux-dev-e8e6c754e50fd05f8e44cd88fddb948d9c1e6740.tar.xz linux-dev-e8e6c754e50fd05f8e44cd88fddb948d9c1e6740.zip |
staging: xgifb: eliminate pVBInfo->ModeResInfo
Access XGI330_ModeResInfo directly and make it const.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/xgifb/vb_table.h')
-rw-r--r-- | drivers/staging/xgifb/vb_table.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/xgifb/vb_table.h b/drivers/staging/xgifb/vb_table.h index 453c52861043..9c8b460786f1 100644 --- a/drivers/staging/xgifb/vb_table.h +++ b/drivers/staging/xgifb/vb_table.h @@ -2131,7 +2131,7 @@ static struct SiS_StResInfo_S XGI330_StResInfo[] = { {640, 480} }; -static struct SiS_ModeResInfo_S XGI330_ModeResInfo[] = { +static const struct SiS_ModeResInfo_S XGI330_ModeResInfo[] = { { 320, 200, 8, 8}, { 320, 240, 8, 8}, { 320, 400, 8, 8}, |