Repository navigation
drivers: mediatek: fix build error - #5808
Merged
lgirdwood merged 1 commit intoMay 12, 2022
Merged
Conversation
tinghan-shen
requested review from
dbaluta,
kuanhsuncheng,
lbetlej,
lgirdwood,
mmaka1,
plbossart and
yaochunhung
as code owners
May 12, 2022 11:41
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>
yaochunhung
approved these changes
May 12, 2022
kuanhsuncheng
approved these changes
May 12, 2022
afq984
approved these changes
May 12, 2022
Collaborator
|
The m8186 is still missing from the build because we are still waiting for Mediatek to provide the toolchain. I re-opened #5388, let's discuss there. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix mediatek driver build error after ipc_cmd_hdr is updated.
/proj/mtk15399/cros/src/third_party/sof/src/drivers/mediatek/mt8186/ipc.c: In function ‘ipc_platform_do_cmd’:
/proj/mtk15399/cros/src/third_party/sof/src/drivers/mediatek/mt8186/ipc.c:77: error: ‘ipc_cmd_hdr’ undeclared (first use in this function)
/proj/mtk15399/cros/src/third_party/sof/src/drivers/mediatek/mt8186/ipc.c:77: error: (Each undeclared identifier is reported only once
/proj/mtk15399/cros/src/third_party/sof/src/drivers/mediatek/mt8186/ipc.c:77: error: for each function it appears in.)
/proj/mtk15399/cros/src/third_party/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