diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2011-12-06 00:10:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-08 12:26:07 -0800 |
commit | fab04b97be07e9e561b624a2a68f714c037d918b (patch) | |
tree | cc4875248d324addd70947d9b69ff02c7bd39cba /drivers/staging/xgifb/vb_setmode.h | |
parent | 64afdf8722dc64b33e588f759c44c8d137e56920 (diff) | |
download | blackbird-obmc-linux-fab04b97be07e9e561b624a2a68f714c037d918b.tar.gz blackbird-obmc-linux-fab04b97be07e9e561b624a2a68f714c037d918b.zip |
staging: xgifb: move XGI21_LVDSCapStruct into xgifb_video_info
Move the LVDS data into a device-specific data, and eliminate the global
variable usage.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/xgifb/vb_setmode.h')
-rw-r--r-- | drivers/staging/xgifb/vb_setmode.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/staging/xgifb/vb_setmode.h b/drivers/staging/xgifb/vb_setmode.h index 6178e791b4d4..552482858c1c 100644 --- a/drivers/staging/xgifb/vb_setmode.h +++ b/drivers/staging/xgifb/vb_setmode.h @@ -6,11 +6,13 @@ extern void XGI_UnLockCRT2(struct xgi_hw_device_info *HwDeviceExtension, struct vb_device_info *); extern void XGI_LockCRT2(struct xgi_hw_device_info *HwDeviceExtension, struct vb_device_info *); -extern void XGI_DisplayOff(struct xgi_hw_device_info *, +extern void XGI_DisplayOff(struct xgifb_video_info *, + struct xgi_hw_device_info *, struct vb_device_info *); extern void XGI_GetVBType(struct vb_device_info *); extern void XGI_SenseCRT1(struct vb_device_info *); -extern unsigned char XGISetModeNew(struct xgi_hw_device_info *HwDeviceExtension, +extern unsigned char XGISetModeNew(struct xgifb_video_info *xgifb_info, + struct xgi_hw_device_info *HwDeviceExtension, unsigned short ModeNo) ; extern unsigned char XGI_SearchModeID(unsigned short ModeNo, |