From 291408980f33b1e541c89d958535e6fad55fdac9 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 2 Sep 2009 20:14:30 +1000 Subject: vgaarb: protect fini as well just in case --- hw/xfree86/common/xf86VGAarbiter.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/xfree86') diff --git a/hw/xfree86/common/xf86VGAarbiter.c b/hw/xfree86/common/xf86VGAarbiter.c index f02ccf50d..c38973933 100644 --- a/hw/xfree86/common/xf86VGAarbiter.c +++ b/hw/xfree86/common/xf86VGAarbiter.c @@ -87,6 +87,8 @@ xf86VGAarbiterInit(void) void xf86VGAarbiterFini(void) { + if (vga_no_arb) + return; pci_device_vgaarb_fini(); } -- cgit v1.2.3