diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2012-03-19 21:50:13 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-10 09:52:58 -0700 |
commit | 9a801f252a1695d85da53845daf6e21671bf72ed (patch) | |
tree | 5eab66a6ab01624f0e6165ed873926fb86cd93f1 /drivers/staging/xgifb/vgatypes.h | |
parent | 30b768161564891a5109db1520bfc954ca2b3649 (diff) | |
download | op-kernel-dev-9a801f252a1695d85da53845daf6e21671bf72ed.zip op-kernel-dev-9a801f252a1695d85da53845daf6e21671bf72ed.tar.gz |
staging/xgifb: simplify vga I/O ports handling
XGIfb driver transfers integer port number through several typecasts via
pjIOAddress field. Drop that field completely and use vga_base field of
xgifb_info directly.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/xgifb/vgatypes.h')
-rw-r--r-- | drivers/staging/xgifb/vgatypes.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/xgifb/vgatypes.h b/drivers/staging/xgifb/vgatypes.h index a7208e3..30cdd1a 100644 --- a/drivers/staging/xgifb/vgatypes.h +++ b/drivers/staging/xgifb/vgatypes.h @@ -66,8 +66,6 @@ struct xgi_hw_device_info { unsigned long ulVideoMemorySize; /* size, in bytes, of the memory on the board */ - unsigned char *pjIOAddress; /* base I/O address of VGA ports (0x3B0) */ - unsigned char jChipType; /* Used to Identify Graphics Chip */ /* defined in the data structure type */ /* "XGI_CHIP_TYPE" */ |