vc4: Reuse the util header instead of defining our own ARRAY_SIZE.

Fixes redefinition warnings if you end up including this header before
util stuff.
This commit is contained in:
Eric Anholt 2014-09-15 12:04:32 -07:00
parent 418da97905
commit 50292d76c5
1 changed files with 1 additions and 2 deletions

View File

@ -25,8 +25,7 @@
#define VC4_QPU_DEFINES_H
#include <assert.h>
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
#include <util/macros.h>
enum qpu_op_add {
QPU_A_NOP,