mirror of https://github.com/thesofproject/sof.git
drivers: mediatek: fix build error
fix mediatek driver build error after ipc_cmd_hdr is updated. sof/src/drivers/mediatek/mt8186/ipc.c: In function ‘ipc_platform_do_cmd’: sof/src/drivers/mediatek/mt8186/ipc.c:77: error: ‘ipc_cmd_hdr’ undeclared (first use in this function) sof/src/drivers/mediatek/mt8186/ipc.c:77: error: (Each undeclared identifier is reported only once sof/src/drivers/mediatek/mt8186/ipc.c:77: error: for each function it appears in.) sof/src/drivers/mediatek/mt8186/ipc.c:77: error: ‘hdr’ undeclared (first use in this function) CMakeFiles/sof.dir/build.make:714: recipe for target 'CMakeFiles/sof.dir/src/drivers/mediatek/mt8186/ipc.c.o' failed Signed-off-by: Tinghan Shen <tinghan.shen@mediatek.com>
This commit is contained in:
parent
2e3823ac34
commit
42e0d5e0b5
|
@ -74,7 +74,7 @@ void trigger_irq_to_host_req(void)
|
|||
|
||||
enum task_state ipc_platform_do_cmd(struct ipc *ipc)
|
||||
{
|
||||
ipc_cmd_hdr *hdr;
|
||||
struct ipc_cmd_hdr *hdr;
|
||||
|
||||
hdr = mailbox_validate();
|
||||
ipc_cmd(hdr);
|
||||
|
|
|
@ -73,7 +73,7 @@ void trigger_irq_to_host_req(void)
|
|||
|
||||
enum task_state ipc_platform_do_cmd(struct ipc *ipc)
|
||||
{
|
||||
ipc_cmd_hdr *hdr;
|
||||
struct ipc_cmd_hdr *hdr;
|
||||
|
||||
hdr = mailbox_validate();
|
||||
ipc_cmd(hdr);
|
||||
|
|
Loading…
Reference in New Issue