ASoC: Intel: sof_sdw: make sof_sdw_quirk static
There's no need to make this variable visible at a higher level. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://patch.msgid.link/20240827123215.258859-2-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
69a8d0edb9
commit
6785244f3d
@@ -17,7 +17,7 @@
|
|||||||
#include "sof_sdw_common.h"
|
#include "sof_sdw_common.h"
|
||||||
#include "../../codecs/rt711.h"
|
#include "../../codecs/rt711.h"
|
||||||
|
|
||||||
unsigned long sof_sdw_quirk = RT711_JD1;
|
static unsigned long sof_sdw_quirk = RT711_JD1;
|
||||||
static int quirk_override = -1;
|
static int quirk_override = -1;
|
||||||
module_param_named(quirk, quirk_override, int, 0444);
|
module_param_named(quirk, quirk_override, int, 0444);
|
||||||
MODULE_PARM_DESC(quirk, "Board-specific quirk override");
|
MODULE_PARM_DESC(quirk, "Board-specific quirk override");
|
||||||
|
|||||||
@@ -58,8 +58,6 @@ struct intel_mc_ctx {
|
|||||||
unsigned int sdw_pin_index[SDW_INTEL_MAX_LINKS];
|
unsigned int sdw_pin_index[SDW_INTEL_MAX_LINKS];
|
||||||
};
|
};
|
||||||
|
|
||||||
extern unsigned long sof_sdw_quirk;
|
|
||||||
|
|
||||||
/* generic HDMI support */
|
/* generic HDMI support */
|
||||||
int sof_sdw_hdmi_init(struct snd_soc_pcm_runtime *rtd);
|
int sof_sdw_hdmi_init(struct snd_soc_pcm_runtime *rtd);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user