mirror of
https://github.com/torvalds/linux.git
synced 2024-11-06 20:21:57 +00:00
staging: xgifb: drop XG45 code
XG45 is not recognized/supported by the driver. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
18408da0e8
commit
c38d044bf2
@ -1656,17 +1656,6 @@ static int XGIfb_get_dram_size(struct xgifb_video_info *xgifb_info)
|
||||
ChannelNum = 1;
|
||||
break;
|
||||
|
||||
case XG45:
|
||||
if (tmp == 1)
|
||||
ChannelNum = 2;
|
||||
else if (tmp == 2)
|
||||
ChannelNum = 3;
|
||||
else if (tmp == 3)
|
||||
ChannelNum = 4;
|
||||
else
|
||||
ChannelNum = 1;
|
||||
break;
|
||||
|
||||
case XG40:
|
||||
default:
|
||||
if (tmp == 2)
|
||||
|
@ -24,7 +24,6 @@ enum xgifb_display_type {
|
||||
enum XGI_CHIP_TYPE {
|
||||
XG40 = 32,
|
||||
XG42,
|
||||
XG45,
|
||||
XG20 = 48,
|
||||
XG21,
|
||||
XG27,
|
||||
|
Loading…
Reference in New Issue
Block a user