mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 07:30:06 -04:00
ASoC: amd: acp: Fix acp_common_hw_ops declaration error
Fix acp_common_hw_ops declaration error by adding static and
remove export symbol.
sparse: symbol 'acp_common_hw_ops' was not declared. Should it be static?
Fixes: 8ae746fe51 ("ASoC: amd: acp: Implement acp_common_hw_ops support for acp platforms")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202503141442.iT0LHEMx-lkp@intel.com/
Signed-off-by: Venkata Prasad Potturu <venkataprasad.potturu@amd.com>
Link: https://patch.msgid.link/20250317072413.88971-3-venkataprasad.potturu@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
09dc8031f4
commit
77ad261ecc
@@ -67,7 +67,7 @@ struct acp_resource acp70_rsrc = {
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(acp70_rsrc, "SND_SOC_ACP_COMMON");
|
||||
|
||||
const struct snd_acp_hw_ops acp_common_hw_ops = {
|
||||
static const struct snd_acp_hw_ops acp_common_hw_ops = {
|
||||
/* ACP hardware initilizations */
|
||||
.acp_init = acp_init,
|
||||
.acp_deinit = acp_deinit,
|
||||
@@ -77,7 +77,6 @@ const struct snd_acp_hw_ops acp_common_hw_ops = {
|
||||
.en_interrupts = acp_enable_interrupts,
|
||||
.dis_interrupts = acp_disable_interrupts,
|
||||
};
|
||||
EXPORT_SYMBOL_NS_GPL(acp_common_hw_ops, "SND_SOC_ACP_COMMON");
|
||||
|
||||
irqreturn_t acp_irq_handler(int irq, void *data)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user