config: Add missing header
The object_config structure embeds some cedrus.h defines, without including its header, resulting in a compilation breakage if we don't include sunxi_cedrus.h before config.h. Fix this. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
This commit is contained in:
@@ -29,6 +29,7 @@
|
|||||||
#include <va/va_backend.h>
|
#include <va/va_backend.h>
|
||||||
|
|
||||||
#include "object_heap.h"
|
#include "object_heap.h"
|
||||||
|
#include "sunxi_cedrus.h"
|
||||||
|
|
||||||
#define CONFIG(data, id) ((struct object_config *) object_heap_lookup(&(data)->config_heap, id))
|
#define CONFIG(data, id) ((struct object_config *) object_heap_lookup(&(data)->config_heap, id))
|
||||||
#define CONFIG_ID_OFFSET 0x01000000
|
#define CONFIG_ID_OFFSET 0x01000000
|
||||||
|
|||||||
Reference in New Issue
Block a user