aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2012-05-11 15:24:24 +0100
committerJon Medhurst <tixy@linaro.org>2012-07-16 14:21:40 +0100
commit9723e2b0003960906d6458a01d21e8df846ef1e6 (patch)
tree00049bef84a0db307a322331808537a45bef5dcc
parent6bedd90b2e8cfc1b2fd1a38bfae383ee25a0f07f (diff)
gator: Default GATOR_MALI_INTERFACE_STYLE to '2'
At the moment, we only have users with the old style interface, so make our life easier by making it the default. Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rwxr-xr-xdrivers/gator/gator_events_mali.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gator/gator_events_mali.c b/drivers/gator/gator_events_mali.c
index 21a63246f02..e3b6e13923a 100755
--- a/drivers/gator/gator_events_mali.c
+++ b/drivers/gator/gator_events_mali.c
@@ -14,6 +14,14 @@
#include "linux/mali_linux_trace.h"
+#if !defined(GATOR_MALI_INTERFACE_STYLE)
+/*
+ * At the moment, we only have users with the old style interface, so
+ * make our life easier by making it the default...
+ */
+#define GATOR_MALI_INTERFACE_STYLE (2)
+#endif
+
/*
* There are (currently) three different variants of the comms between gator and Mali:
* 1 (deprecated): No software counter support