summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/r128_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/r128_driver.c b/src/r128_driver.c
index 95a9912..49c0d86 100644
--- a/src/r128_driver.c
+++ b/src/r128_driver.c
@@ -1377,8 +1377,10 @@ static Bool R128PreInitConfig(ScrnInfoPtr pScrn)
static Bool R128PreInitDDC(ScrnInfoPtr pScrn, xf86Int10InfoPtr pInt10)
{
+#if !defined(__powerpc__) && !defined(__alpha__)
R128InfoPtr info = R128PTR(pScrn);
vbeInfoPtr pVbe;
+#endif
if (!xf86LoadSubModule(pScrn, "ddc")) return FALSE;
xf86LoaderReqSymLists(ddcSymbols, NULL);