diff options
Diffstat (limited to 'src/soc/intel/common')
-rw-r--r-- | src/soc/intel/common/block/chip/chip.c | 2 | ||||
-rw-r--r-- | src/soc/intel/common/block/include/intelblocks/cfg.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/common/block/chip/chip.c b/src/soc/intel/common/block/chip/chip.c index f52d242357..29d9f50874 100644 --- a/src/soc/intel/common/block/chip/chip.c +++ b/src/soc/intel/common/block/chip/chip.c @@ -2,7 +2,7 @@ #include <soc/soc_chip.h> -const struct soc_intel_common_config *chip_get_common_soc_structure(void) +struct soc_intel_common_config *chip_get_common_soc_structure(void) { return &((config_t *)config_of_soc())->common_soc_config; } diff --git a/src/soc/intel/common/block/include/intelblocks/cfg.h b/src/soc/intel/common/block/include/intelblocks/cfg.h index 131d70d71c..8563520961 100644 --- a/src/soc/intel/common/block/include/intelblocks/cfg.h +++ b/src/soc/intel/common/block/include/intelblocks/cfg.h @@ -29,6 +29,6 @@ struct soc_intel_common_config { }; /* This function to retrieve soc config structure required by common code */ -const struct soc_intel_common_config *chip_get_common_soc_structure(void); +struct soc_intel_common_config *chip_get_common_soc_structure(void); #endif /* SOC_INTEL_COMMON_BLOCK_CFG_H */ |