summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lg_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lg_driver.c b/src/lg_driver.c
index eaba5f3..60280df 100644
--- a/src/lg_driver.c
+++ b/src/lg_driver.c
@@ -303,7 +303,9 @@ LgDoDDC(ScrnInfoPtr pScrn)
xf86SetDDCproperties(pScrn, MonInfo);
+#if LGuseI2C
unmap_out:
+#endif /* LGuseI2C */
CirUnmapMem(pCir, pScrn->scrnIndex);
return MonInfo;