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>
This commit is contained in:
Syed Saba Kareem 2022-11-16 16:29:23 +05:30 committed by Mark Brown
parent d25ec74c6c
commit 7d95977533
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 7 additions and 7 deletions

View file

@ -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];
};

View file

@ -17,13 +17,6 @@
#include "acp63.h"
struct acp63_dev_data {
void __iomem *acp63_base;
struct resource *res;
bool acp63_audio_mode;
struct platform_device *pdev[ACP63_DEVS];
};
static int acp63_power_on(void __iomem *acp_base)
{
u32 val;