summaryrefslogtreecommitdiff
path: root/common/compat-api.h
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2016-12-04 21:55:10 +0100
committerRussell King <rmk@armlinux.org.uk>2017-02-04 12:26:05 +0000
commitaeebab552b58d7ab100d99bab9c44811361bd6cb (patch)
tree89b54515e09fd854a0ffa35365f954086c672c49 /common/compat-api.h
parent8ba65118e447f179da2317a72d656370f8a1e90d (diff)
armada: Adapt to video API 23
Block and wakeup handlers lose their pReadmask arguments. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Signed-off-by: Russell King <rmk@armlinux.org.uk>
Diffstat (limited to 'common/compat-api.h')
-rw-r--r--common/compat-api.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/compat-api.h b/common/compat-api.h
index 993daa0..f41e57b 100644
--- a/common/compat-api.h
+++ b/common/compat-api.h
@@ -98,4 +98,12 @@
#endif
+#if ABI_VIDEODRV_VERSION >= SET_ABI_VERSION(23,0)
+#undef BLOCKHANDLER_ARGS_DECL
+#undef BLOCKHANDLER_ARGS
+
+#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, void *pTimeout
+#define BLOCKHANDLER_ARGS arg, pTimeout
+#endif
+
#endif