Skip to content

Commit

Permalink
ipc4: Add preprocessor directive
Browse files Browse the repository at this point in the history
Fix the base_fw.h file to add the missing preprocessor directive.

Signed-off-by: Liam Girdwood <[email protected]>
Signed-off-by: Ranjani Sridharan <[email protected]>
  • Loading branch information
lrgirdwo authored and ranj063 committed Aug 31, 2023
1 parent 3af4290 commit de61bb8
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/include/ipc4/base_fw.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,8 @@
*/

/*
* This file contains structures that are exact copies of an existing ABI used
* by IOT middleware. They are Intel specific and will be used by one middleware.
*
* Some of the structures may contain programming implementations that makes them
* unsuitable for generic use and general usage.
*
* This code is mostly copied "as-is" from existing C++ interface files hence the use of
* different style in places. The intention is to keep the interface as close as possible to
* original so it's easier to track changes with IPC host code.
*/

/**
Expand All @@ -21,6 +14,9 @@
* NOTE: This ABI uses bit fields and is non portable.
*/

#ifndef __SOF_IPC4_BASE_FW_H__
#define __SOF_IPC4_BASE_FW_H__

/* Three clk src states :low power XTAL, low power ring
* and high power ring oscillator
*/
Expand Down Expand Up @@ -666,3 +662,5 @@ enum ipc4_power_state_type {
IPC4_ACTIVE_CORES_MASK = 0,
IPC4_CORE_KCPS = 1,
};

#endif /* __SOF_IPC4_BASE_FW_H__ */

0 comments on commit de61bb8

Please sign in to comment.