diff options
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r-- | sound/pci/hda/hda_local.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index a489243f243b..e51d15529215 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h | |||
@@ -758,4 +758,11 @@ void snd_hdmi_write_eld_info(struct hdmi_eld *eld, | |||
758 | #define SND_PRINT_CHANNEL_ALLOCATION_ADVISED_BUFSIZE 80 | 758 | #define SND_PRINT_CHANNEL_ALLOCATION_ADVISED_BUFSIZE 80 |
759 | void snd_print_channel_allocation(int spk_alloc, char *buf, int buflen); | 759 | void snd_print_channel_allocation(int spk_alloc, char *buf, int buflen); |
760 | 760 | ||
761 | /* | ||
762 | */ | ||
763 | #define codec_err(codec, fmt, args...) dev_err(&(codec)->dev, fmt, ##args) | ||
764 | #define codec_warn(codec, fmt, args...) dev_warn(&(codec)->dev, fmt, ##args) | ||
765 | #define codec_info(codec, fmt, args...) dev_info(&(codec)->dev, fmt, ##args) | ||
766 | #define codec_dbg(codec, fmt, args...) dev_dbg(&(codec)->dev, fmt, ##args) | ||
767 | |||
761 | #endif /* __SOUND_HDA_LOCAL_H */ | 768 | #endif /* __SOUND_HDA_LOCAL_H */ |