diff options
author | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-01-18 08:40:18 -0500 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-01-18 08:40:56 -0500 |
commit | c02da3f529513fc42afce9185e41852b8ae1407a (patch) | |
tree | 5f91e83333060c77545f11ed0632c69f76f50d22 | |
parent | 89f71d1be4a28e7bf0d60e3089b1f28202fb821f (diff) |
Guard access to "pci" with #ifndef XPSICE
-rw-r--r-- | src/qxl_driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qxl_driver.c b/src/qxl_driver.c index f7231a1..a30cc9c 100644 --- a/src/qxl_driver.c +++ b/src/qxl_driver.c @@ -563,8 +563,10 @@ qxl_close_screen(int scrnIndex, ScreenPtr pScreen) result = pScreen->CloseScreen(scrnIndex, pScreen); +#ifndef XSPICE if (!xf86IsPrimaryPci (qxl->pci) && qxl->primary) qxl_reset (qxl); +#endif if (pScrn->vtSema) { |