gator: Default GATOR_MALI_INTERFACE_STYLE to '2'
authorJon Medhurst <tixy@linaro.org>
Fri, 11 May 2012 14:24:24 +0000 (15:24 +0100)
committerJon Medhurst <tixy@linaro.org>
Tue, 8 Oct 2013 13:57:44 +0000 (14:57 +0100)
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>
drivers/gator/gator_events_mali_400.c

index 38c97d148f8a57e83be5075ea7776f0be1155eae..c5fd989886c3e2b5a3ad952a1fbd88fff7e4b160 100644 (file)
 #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