summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/mediatek/common/pcie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/common/pcie.c b/src/soc/mediatek/common/pcie.c
index ce9055a8bc..c07cc4f748 100644
--- a/src/soc/mediatek/common/pcie.c
+++ b/src/soc/mediatek/common/pcie.c
@@ -96,7 +96,7 @@ static const char *const ltssm_str[] = {
static uintptr_t mtk_pcie_get_controller_base(pci_devfn_t devfn)
{
- struct device *root_dev;
+ DEVTREE_CONST struct device *root_dev;
const mtk_soc_config_t *config;
static uintptr_t base = 0;