Unverified Commit 7d959775 authored by Syed Saba Kareem's avatar Syed Saba Kareem Committed by Mark Brown
Browse files

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: default avatarSyed Saba Kareem <Syed.SabaKareem@amd.com>
Link: https://lore.kernel.org/r/20221116105938.762550-2-Syed.SabaKareem@amd.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent d25ec74c
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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];
};
+0 −7
Original line number Diff line number Diff line
@@ -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;