diff options
author | Syed Saba Kareem <Syed.SabaKareem@amd.com> | 2022-11-16 13:59:23 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-11-16 16:29:12 +0300 |
commit | 7d95977533e14738e8193c14a7efac369288aeee (patch) | |
tree | 820e919e398b77215a3ae9ffbc60310515f431fe /sound/soc/amd/ps/acp63.h | |
parent | d25ec74c6c5419f834bab506f251bc760bdfb858 (diff) | |
download | linux-7d95977533e14738e8193c14a7efac369288aeee.tar.xz |
ASoC: amd: ps: Move acp63_dev_data strcture from PCI driver
Move acp63_dev_data structure from PCI driver to acp header file.
Signed-off-by: Syed Saba Kareem <Syed.SabaKareem@amd.com>
Link: https://lore.kernel.org/r/20221116105938.762550-2-Syed.SabaKareem@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/ps/acp63.h')
-rw-r--r-- | sound/soc/amd/ps/acp63.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/amd/ps/acp63.h b/sound/soc/amd/ps/acp63.h index a90ba3b20dc7..5e7f9c1c1b0e 100644 --- a/sound/soc/amd/ps/acp63.h +++ b/sound/soc/amd/ps/acp63.h @@ -96,3 +96,10 @@ static inline void acp63_writel(u32 val, void __iomem *base_addr) { writel(val, base_addr); } + +struct acp63_dev_data { + void __iomem *acp63_base; + struct resource *res; + bool acp63_audio_mode; + struct platform_device *pdev[ACP63_DEVS]; +}; |