summaryrefslogtreecommitdiff
path: root/driver/xf86-video-i740/src/i740_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/xf86-video-i740/src/i740_driver.c')
-rw-r--r--driver/xf86-video-i740/src/i740_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver/xf86-video-i740/src/i740_driver.c b/driver/xf86-video-i740/src/i740_driver.c
index 7c1051d5b..a3675b64b 100644
--- a/driver/xf86-video-i740/src/i740_driver.c
+++ b/driver/xf86-video-i740/src/i740_driver.c
@@ -780,7 +780,9 @@ I740PreInit(ScrnInfoPtr pScrn, int flags) {
static Bool I740MapMem(ScrnInfoPtr pScrn)
{
+#ifndef XSERVER_LIBPCIACCESS
int mmioFlags;
+#endif
I740Ptr pI740;
pI740 = I740PTR(pScrn);