diff options
author | Rakesh Ughreja <rakesh.a.ughreja@intel.com> | 2018-06-02 06:53:50 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-06-28 08:33:29 +0300 |
commit | 76f56fae1cf9040325a58d1375291baf71dfaf03 (patch) | |
tree | ecc691b24f517dbaf6729b3a0e4d80f3f16a669b /sound/soc/intel/skylake/skl.h | |
parent | 3787a39852b0d6a9e67336f8fb5815c13ab78bb6 (diff) | |
download | linux-76f56fae1cf9040325a58d1375291baf71dfaf03.tar.xz |
ALSA: hdac: Remove usage of struct hdac_ext_bus and use hdac_bus instead
This patch removes the hdac_ext_bus structure. The legacy and
enhanced HDaudio capabilities can be handled in a backward-compatible
way without separate definitions.
Follow-up patches in this series handle the driver definition.
Signed-off-by: Rakesh Ughreja <rakesh.a.ughreja@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/intel/skylake/skl.h')
-rw-r--r-- | sound/soc/intel/skylake/skl.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sound/soc/intel/skylake/skl.h b/sound/soc/intel/skylake/skl.h index 0d5375cbcf6e..78aa8bdcb619 100644 --- a/sound/soc/intel/skylake/skl.h +++ b/sound/soc/intel/skylake/skl.h @@ -71,7 +71,7 @@ struct skl_fw_config { }; struct skl { - struct hdac_ext_bus ebus; + struct hdac_bus hbus; struct pci_dev *pci; unsigned int init_done:1; /* delayed init status */ @@ -105,9 +105,8 @@ struct skl { struct snd_soc_acpi_mach *mach; }; -#define skl_to_ebus(s) (&(s)->ebus) -#define ebus_to_skl(sbus) \ - container_of(sbus, struct skl, sbus) +#define skl_to_bus(s) (&(s)->hbus) +#define bus_to_skl(bus) container_of(bus, struct skl, hbus) /* to pass dai dma data */ struct skl_dma_params { |