ASoC: Intel: atom: fix 0-day warnings
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 16 Aug 2016 23:28:21 +0000 (18:28 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 17 Aug 2016 09:32:11 +0000 (10:32 +0100)
spurious __initconst copy/pasted from other drivers

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/atom/sst/sst_acpi.c
sound/soc/intel/boards/bytcr_rt5640.c

index 0c2cc4207b95cc1aafeb4ee09c090d419ce58643..773acfbaaf2f11c30d67874673d7c6cb1b537778 100644 (file)
@@ -245,7 +245,7 @@ static int is_byt_cr(struct device *dev, bool *bytcr)
        int status = 0;
 
        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 */
                        {}
                };
index 09ec3d718357671417a8275c349608cbdd7bbd98..254881594c36037056a71616e08e75a993b41a24 100644 (file)
@@ -668,7 +668,7 @@ static char byt_rt5640_cpu_dai_name[10]; /*  = "ssp[0|2]-port" */
 
 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 */
                {}
        };