summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-04-09 12:27:21 +0300
committerAlon Levy <alevy@redhat.com>2012-04-24 12:16:53 +0300
commit315c7de54699a883ba91f906ab59985e4e5426c2 (patch)
treea5a61f6d91937e8506d895c0241783076af2aebe
parent5eae282231a7cd727ad3f3576ed0574a29d949b1 (diff)
qxl_driver: ifdef out qxl_wait_for_io_command if not XSPICE
-rw-r--r--src/qxl_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index 5c826f3..6e06174 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -122,6 +122,7 @@ qxl_available_options (int chipid, int busid)
return DefaultOptions;
}
+#ifndef XSPICE
static void qxl_wait_for_io_command(qxl_screen_t *qxl)
{
struct QXLRam *ram_header = (void *)(
@@ -132,6 +133,7 @@ static void qxl_wait_for_io_command(qxl_screen_t *qxl)
}
ram_header->int_pending &= ~QXL_INTERRUPT_IO_CMD;
}
+#endif
void qxl_update_area(qxl_screen_t *qxl)
{