tree: Change the macros to take the actual arguments they are using

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
This commit is contained in:
Maxime Ripard
2018-07-13 16:00:08 +02:00
parent 18331ff41d
commit fd263773cc
9 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
#include "object_heap.h"
#define CONTEXT(id) ((struct object_context *) object_heap_lookup(&driver_data->context_heap, id))
#define CONTEXT(data, id) ((struct object_context *) object_heap_lookup(&(data)->context_heap, id))
#define CONTEXT_ID_OFFSET 0x02000000
struct object_context {