summaryrefslogtreecommitdiff
path: root/hw/xfree86
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2009-09-02 20:14:30 +1000
committerDave Airlie <airlied@linux.ie>2009-09-02 20:14:30 +1000
commit291408980f33b1e541c89d958535e6fad55fdac9 (patch)
tree65e21d1cdfd17dc8c454eaf2841fa5dbe628935f /hw/xfree86
parent8aeadbff0840efc0c9a073e60d6fec0dba313060 (diff)
vgaarb: protect fini as well just in case
Diffstat (limited to 'hw/xfree86')
-rw-r--r--hw/xfree86/common/xf86VGAarbiter.c2
1 files changed, 2 insertions, 0 deletions
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();
}