summaryrefslogtreecommitdiff
path: root/src/mga_driver.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-09-26 15:18:44 +1000
committerDave Airlie <airlied@redhat.com>2012-09-26 15:18:44 +1000
commite777a2845bfeefad386db35d694e4b1cd74a0dd5 (patch)
tree10da5d3a2887e1322bff169d9ea0712e6a7ff45f /src/mga_driver.c
parent220e06fefe77175d9827954e61549eadda245d9a (diff)
mga: add stub storm functions if not using XAA
If we aren't using XAA just add stub storm init/sync functions. This lets the driver load yay. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/mga_driver.c')
-rw-r--r--src/mga_driver.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mga_driver.c b/src/mga_driver.c
index f4f54a1..3db3a74 100644
--- a/src/mga_driver.c
+++ b/src/mga_driver.c
@@ -4185,3 +4185,13 @@ MGAG100BlackMagic(ScrnInfoPtr pScrn)
usleep(10);
}
+#ifndef HAVE_XAA_H
+void MGAStormEngineInit( ScrnInfoPtr pScrn )
+{
+}
+
+void
+MGAStormSync(ScrnInfoPtr pScrn)
+{
+}
+#endif