diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2011-10-11 21:47:16 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-12 09:51:45 -0600 |
commit | 6048d761d23958218ea0e67decafdfac81aed663 (patch) | |
tree | e6382110975e1652ac6efab035d37fba4103d50d /drivers/staging/xgifb/vb_init.h | |
parent | c62f2e466f875a5eedb4d4f52115c3e7d1cb52f6 (diff) | |
download | linux-6048d761d23958218ea0e67decafdfac81aed663.tar.gz linux-6048d761d23958218ea0e67decafdfac81aed663.tar.xz |
staging: xgifb: inline XGIfb_query_VGA_config_space()
XGIfb_query_VGA_config_space() is used only once during the init and
can be replaced with a single PCI configuration space read.
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/vb_init.h')
-rw-r--r-- | drivers/staging/xgifb/vb_init.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/xgifb/vb_init.h b/drivers/staging/xgifb/vb_init.h index 6b7723057f73..a27b4fe0bb7b 100644 --- a/drivers/staging/xgifb/vb_init.h +++ b/drivers/staging/xgifb/vb_init.h @@ -1,6 +1,6 @@ #ifndef _VBINIT_ #define _VBINIT_ -extern unsigned char XGIInitNew(struct xgi_hw_device_info *HwDeviceExtension); +extern unsigned char XGIInitNew(struct pci_dev *pdev); extern struct XGI21_LVDSCapStruct XGI21_LCDCapList[13]; #endif |