summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2012-05-11 15:24:24 +0100
committerJon Medhurst <tixy@linaro.org>2012-12-06 18:15:00 +0000
commit8eed7f0b37ce09d4e25be7528596d5f51c9d7349 (patch)
tree8bb3f4fe02a89e0f3e49fceebe79836629cb7a6e
parent9cd9d856f545091c509fdacb10ff15b556800f28 (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>
-rw-r--r--drivers/gator/gator_events_mali_400.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gator/gator_events_mali_400.c b/drivers/gator/gator_events_mali_400.c
index 65eeb4f37d94..a44cd8e78993 100644
--- a/drivers/gator/gator_events_mali_400.c
+++ b/drivers/gator/gator_events_mali_400.c
@@ -17,6 +17,14 @@
#include "gator_events_mali_common.h"
#include "gator_events_mali_400.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