mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-10 12:09:31 +00:00
devices: ac97: fix missing import with audio_cras
The `error!` macro is still used when the audio_cras feature is enabled.
Add its import back.
BUG=None
TEST=emerge-trogdor crosvm
Change-Id: I06430fece32fc203bf0e9005f29e346dad88eea4
Fixes: 28c318fa20
("Fix ChromeOS build")
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3798972
Tested-by: Daniel Verkamp <dverkamp@chromium.org>
Auto-Submit: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Junichi Uekawa <uekawa@chromium.org>
Commit-Queue: Junichi Uekawa <uekawa@chromium.org>
This commit is contained in:
parent
600ad38ff8
commit
44146d272c
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,8 @@
|
|||
use audio_streams::shm_streams::NullShmStreamSource;
|
||||
use audio_streams::shm_streams::ShmStreamSource;
|
||||
#[cfg(feature = "audio_cras")]
|
||||
use base::error;
|
||||
#[cfg(feature = "audio_cras")]
|
||||
use libcras::CrasClient;
|
||||
#[cfg(feature = "audio_cras")]
|
||||
use libcras::CrasClientType;
|
||||
|
|
Loading…
Reference in a new issue