mirror of
https://github.com/torvalds/linux.git
synced 2026-04-25 10:02:31 -04:00
ASoC: SOF: imx: add header file for ops
Sparse (make C=2) complains about undeclared variables. Fix by adding a real prototype instead of 'extern' in sof-of-dev.c Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Daniel Baluta <daniel.baluta@gmail.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Reviewed-by: Paul Olaru <paul.olaru@oss.nxp.com> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Link: https://lore.kernel.org/r/20210928072807.27838-1-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
a1ce6e43e2
commit
3e5cdded93
@@ -11,10 +11,7 @@
|
||||
#include <sound/sof.h>
|
||||
|
||||
#include "ops.h"
|
||||
|
||||
extern struct snd_sof_dsp_ops sof_imx8_ops;
|
||||
extern struct snd_sof_dsp_ops sof_imx8x_ops;
|
||||
extern struct snd_sof_dsp_ops sof_imx8m_ops;
|
||||
#include "imx/imx-ops.h"
|
||||
|
||||
/* platform specific devices */
|
||||
#if IS_ENABLED(CONFIG_SND_SOC_SOF_IMX8)
|
||||
|
||||
Reference in New Issue
Block a user