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:
Maxime Ripard
2018-07-17 10:10:22 +02:00
parent b938824c48
commit f831082a09
+1
View File
@@ -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