diff options
-rw-r--r-- | src/device/azalia_device.c | 4 | ||||
-rw-r--r-- | src/include/device/azalia_device.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/device/azalia_device.c b/src/device/azalia_device.c index a223e76e1a..c3bb91b99f 100644 --- a/src/device/azalia_device.c +++ b/src/device/azalia_device.c @@ -267,7 +267,7 @@ static void codec_init(struct device *dev, u8 *base, int addr) mainboard_azalia_program_runtime_verbs(base, reg32); } -static void codecs_init(struct device *dev, u8 *base, u16 codec_mask) +void azalia_codecs_init(struct device *dev, u8 *base, u16 codec_mask) { int i; @@ -297,7 +297,7 @@ void azalia_audio_init(struct device *dev) if (codec_mask) { printk(BIOS_DEBUG, "azalia_audio: codec_mask = %02x\n", codec_mask); - codecs_init(dev, base, codec_mask); + azalia_codecs_init(dev, base, codec_mask); } } 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; |