aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/i2c_early.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/apollolake/i2c_early.c')
-rw-r--r--src/soc/intel/apollolake/i2c_early.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/apollolake/i2c_early.c b/src/soc/intel/apollolake/i2c_early.c
index 4eb2b86042..871c7621a9 100644
--- a/src/soc/intel/apollolake/i2c_early.c
+++ b/src/soc/intel/apollolake/i2c_early.c
@@ -28,8 +28,8 @@
static int i2c_early_init_bus(unsigned int bus)
{
- ROMSTAGE_CONST struct soc_intel_apollolake_config *config;
- ROMSTAGE_CONST struct device *tree_dev;
+ DEVTREE_CONST struct soc_intel_apollolake_config *config;
+ DEVTREE_CONST struct device *tree_dev;
pci_devfn_t dev;
int devfn;
uintptr_t base;