staging/xgifb: Remove unnecessary fields of XGINew_DDRDRAM_TYPE{340, 20}
authorPeter Huewe <peterhuewe@gmx.de>
Wed, 13 Jun 2012 22:21:46 +0000 (00:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Jun 2012 00:15:42 +0000 (17:15 -0700)
commitd6461e49c09a1a7f203437c084ec169563bcbf68
tree83d9fbf9906ab1960bacc44deeb35393415c6ad1
parent4e55d0b3ee13bb21dc0f74217675e86486004b8b
staging/xgifb: Remove unnecessary fields of XGINew_DDRDRAM_TYPE{340, 20}

Since the first three entries in XGINew_DDRDRAM_TYPE{340,20} are never
used, we can simply remove them;
and instead of passing XGINew_DDRDRAM_TYPE with an index we can simply
pass the value directly to XGINew_SetDRAMSize20Reg.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_init.c