diff options
Diffstat (limited to 'include/sound/hdaudio_ext.h')
-rw-r--r-- | include/sound/hdaudio_ext.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sound/hdaudio_ext.h b/include/sound/hdaudio_ext.h index 94210dcdb6ea..a4cadd9c297a 100644 --- a/include/sound/hdaudio_ext.h +++ b/include/sound/hdaudio_ext.h | |||
@@ -40,6 +40,13 @@ void snd_hdac_ext_bus_device_remove(struct hdac_ext_bus *ebus); | |||
40 | #define hbus_to_ebus(_bus) \ | 40 | #define hbus_to_ebus(_bus) \ |
41 | container_of(_bus, struct hdac_ext_bus, bus) | 41 | container_of(_bus, struct hdac_ext_bus, bus) |
42 | 42 | ||
43 | #define HDA_CODEC_REV_EXT_ENTRY(_vid, _rev, _name, drv_data) \ | ||
44 | { .vendor_id = (_vid), .rev_id = (_rev), .name = (_name), \ | ||
45 | .api_version = HDA_DEV_ASOC, \ | ||
46 | .driver_data = (unsigned long)(drv_data) } | ||
47 | #define HDA_CODEC_EXT_ENTRY(_vid, _revid, _name, _drv_data) \ | ||
48 | HDA_CODEC_REV_EXT_ENTRY(_vid, _revid, _name, _drv_data) | ||
49 | |||
43 | int snd_hdac_ext_bus_parse_capabilities(struct hdac_ext_bus *sbus); | 50 | int snd_hdac_ext_bus_parse_capabilities(struct hdac_ext_bus *sbus); |
44 | void snd_hdac_ext_bus_ppcap_enable(struct hdac_ext_bus *chip, bool enable); | 51 | void snd_hdac_ext_bus_ppcap_enable(struct hdac_ext_bus *chip, bool enable); |
45 | void snd_hdac_ext_bus_ppcap_int_enable(struct hdac_ext_bus *chip, bool enable); | 52 | void snd_hdac_ext_bus_ppcap_int_enable(struct hdac_ext_bus *chip, bool enable); |