Commit cac17731 authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Mark Brown

ASoC: Intel: atom: fix 0-day warnings

spurious __initconst copy/pasted from other drivers
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent d7e60d52
...@@ -245,7 +245,7 @@ static int is_byt_cr(struct device *dev, bool *bytcr) ...@@ -245,7 +245,7 @@ static int is_byt_cr(struct device *dev, bool *bytcr)
int status = 0; int status = 0;
if (IS_ENABLED(CONFIG_IOSF_MBI)) { if (IS_ENABLED(CONFIG_IOSF_MBI)) {
static const struct x86_cpu_id cpu_ids[] __initconst = { static const struct x86_cpu_id cpu_ids[] = {
{ X86_VENDOR_INTEL, 6, 55 }, /* Valleyview, Bay Trail */ { X86_VENDOR_INTEL, 6, 55 }, /* Valleyview, Bay Trail */
{} {}
}; };
......
...@@ -668,7 +668,7 @@ static char byt_rt5640_cpu_dai_name[10]; /* = "ssp[0|2]-port" */ ...@@ -668,7 +668,7 @@ static char byt_rt5640_cpu_dai_name[10]; /* = "ssp[0|2]-port" */
static bool is_valleyview(void) static bool is_valleyview(void)
{ {
static const struct x86_cpu_id cpu_ids[] __initconst = { static const struct x86_cpu_id cpu_ids[] = {
{ X86_VENDOR_INTEL, 6, 55 }, /* Valleyview, Bay Trail */ { X86_VENDOR_INTEL, 6, 55 }, /* Valleyview, Bay Trail */
{} {}
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment