summaryrefslogtreecommitdiff
path: root/driver/xf86-video-i740/src/i740_driver.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2019-02-10 10:18:42 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2019-02-10 10:18:42 +0000
commite55d464c59070f52bd9011118c121b64ee30b00e (patch)
treef17b4d5eb42ef8174d791a2235e8f03365d2cdfb /driver/xf86-video-i740/src/i740_driver.c
parent649b0f19c8eaf5aaab16376501214f798380b348 (diff)
Update to xf86-video-i740 1.4.0
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);