mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 04:23:35 +02:00
ASoc: SOF: Intel: fix hda-ctrl.c build error on sparc64
Fix build error reported on sparc64 due to missing include for module.h. Also add #ifdefs to codec_mask to avoid unused variable warnings on builds with HDA disabled. Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
This commit is contained in:
parent
2cb8d264de
commit
7d913c868f
|
|
@ -15,14 +15,17 @@
|
|||
* Hardware interface for generic Intel audio DSP HDA IP
|
||||
*/
|
||||
|
||||
#include <linux/module.h>
|
||||
#include <sound/hdaudio_ext.h>
|
||||
#include <sound/hda_register.h>
|
||||
#include "../ops.h"
|
||||
#include "hda.h"
|
||||
|
||||
#if IS_ENABLED(CONFIG_SND_SOC_SOF_HDA)
|
||||
static int hda_codec_mask = -1;
|
||||
module_param_named(codec_mask, hda_codec_mask, int, 0444);
|
||||
MODULE_PARM_DESC(codec_mask, "SOF HDA codec mask for probing");
|
||||
#endif
|
||||
|
||||
/*
|
||||
* HDA Operations.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user