summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-11-10 17:19:44 +0100
committerPaul Fagerburg <pfagerburg@chromium.org>2021-11-11 22:42:42 +0000
commit42552ca90207ed085e0d1d9b38db19e5e6810116 (patch)
tree8155ea540591645fea66801110284e562069b2ed /src/include
parent18d616a8fe47dbf5a24336078deb980140123d8c (diff)
device/azalia_device: Export `codecs_init()`
Make the `codecs_init()` function non-static so that it can be used in other places. Rename it to `azalia_codecs_init()` to avoid name clashes with static definitions in southbridge code (which will be removed in subsequent commits). Change-Id: I080a73102b0c4f9f8a283cd93bba9b3b23169be0 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/59108 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/device/azalia_device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/device/azalia_device.h b/src/include/device/azalia_device.h
index 18481fee37..8f0d212205 100644
--- a/src/include/device/azalia_device.h
+++ b/src/include/device/azalia_device.h
@@ -23,6 +23,7 @@ int azalia_enter_reset(u8 *base);
int azalia_exit_reset(u8 *base);
u32 azalia_find_verb(const u32 *verb_table, u32 verb_table_bytes, u32 viddid, const u32 **verb);
int azalia_program_verb_table(u8 *base, const u32 *verbs, u32 verb_size);
+void azalia_codecs_init(struct device *dev, u8 *base, u16 codec_mask);
void azalia_audio_init(struct device *dev);
extern struct device_operations default_azalia_audio_ops;