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:
Daniel Verkamp 2022-08-01 10:37:54 -07:00 committed by crosvm LUCI
parent 600ad38ff8
commit 44146d272c

View file

@ -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;