mirror of https://github.com/thesofproject/sof.git
cavs: explicitly include <cavs/version.h> where needed
To use CAVS_VERSION* macros the <cavs/version.h> header has to be included. Also remove superfluous empty lines from that header. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
parent
6cd9f6a251
commit
f215d5e052
|
@ -14,6 +14,8 @@
|
||||||
#include <sof/spinlock.h>
|
#include <sof/spinlock.h>
|
||||||
#include <sof/trace/trace.h>
|
#include <sof/trace/trace.h>
|
||||||
|
|
||||||
|
#include <cavs/version.h>
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,8 @@
|
||||||
#warning "The file is intended to be included in assembly files only."
|
#warning "The file is intended to be included in assembly files only."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <cavs/version.h>
|
||||||
|
|
||||||
#include <sof/lib/memory.h>
|
#include <sof/lib/memory.h>
|
||||||
#include <sof/lib/shim.h>
|
#include <sof/lib/shim.h>
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,6 @@
|
||||||
#ifndef __CAVS_VERSION_H__
|
#ifndef __CAVS_VERSION_H__
|
||||||
#define __CAVS_VERSION_H__
|
#define __CAVS_VERSION_H__
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#define CAVS_VERSION_1_5 0x10500
|
#define CAVS_VERSION_1_5 0x10500
|
||||||
#define CAVS_VERSION_1_8 0x10800
|
#define CAVS_VERSION_1_8 0x10800
|
||||||
#define CAVS_VERSION_2_0 0x20000
|
#define CAVS_VERSION_2_0 0x20000
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
#include <sof/sof.h>
|
#include <sof/sof.h>
|
||||||
#include <sof/spinlock.h>
|
#include <sof/spinlock.h>
|
||||||
|
|
||||||
|
#include <cavs/version.h>
|
||||||
|
|
||||||
static SHARED_DATA struct clock_info platform_clocks_info[NUM_CLOCKS];
|
static SHARED_DATA struct clock_info platform_clocks_info[NUM_CLOCKS];
|
||||||
|
|
||||||
#if CAVS_VERSION == CAVS_VERSION_1_5
|
#if CAVS_VERSION == CAVS_VERSION_1_5
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <cavs/lib/pm_memory.h>
|
#include <cavs/lib/pm_memory.h>
|
||||||
|
#include <cavs/version.h>
|
||||||
#include <sof/debug/panic.h>
|
#include <sof/debug/panic.h>
|
||||||
#include <sof/drivers/interrupt.h>
|
#include <sof/drivers/interrupt.h>
|
||||||
#include <sof/lib/alloc.h>
|
#include <sof/lib/alloc.h>
|
||||||
|
|
Loading…
Reference in New Issue