aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/xgifb/vb_init.h
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2011-10-11 21:47:16 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-12 09:51:45 -0600
commit6048d761d23958218ea0e67decafdfac81aed663 (patch)
treee6382110975e1652ac6efab035d37fba4103d50d /drivers/staging/xgifb/vb_init.h
parentstaging: xgifb: eliminate global XGIhw_ext data (diff)
downloadlinux-dev-6048d761d23958218ea0e67decafdfac81aed663.tar.xz
linux-dev-6048d761d23958218ea0e67decafdfac81aed663.zip
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.h2
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