summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/intel/dptf/dptf.c2
-rw-r--r--src/drivers/intel/dptf/dptf.h6
2 files changed, 6 insertions, 2 deletions
diff --git a/src/drivers/intel/dptf/dptf.c b/src/drivers/intel/dptf/dptf.c
index 450451082f..6392f4e8e5 100644
--- a/src/drivers/intel/dptf/dptf.c
+++ b/src/drivers/intel/dptf/dptf.c
@@ -435,7 +435,7 @@ static void write_open_dptf_device(const struct device *dev,
/* Add minimal definitions of DPTF devices into the SSDT */
static void write_device_definitions(const struct device *dev)
{
- const struct dptf_platform_info *platform_info = get_dptf_platform_info();
+ const struct dptf_platform_info *platform_info = soc_get_dptf_platform_info();
const struct drivers_intel_dptf_config *config;
struct device *parent;
diff --git a/src/drivers/intel/dptf/dptf.h b/src/drivers/intel/dptf/dptf.h
index ed258802be..bf383084b0 100644
--- a/src/drivers/intel/dptf/dptf.h
+++ b/src/drivers/intel/dptf/dptf.h
@@ -28,6 +28,10 @@ struct dptf_platform_info {
} tpch_method_names;
};
-const struct dptf_platform_info *get_dptf_platform_info(void);
+/*
+ * `soc_get_dptf_platform_info()` is a callback into the SoC directory
+ * to fill in the `struct dptf_platform_info` data structure.
+ */
+const struct dptf_platform_info *soc_get_dptf_platform_info(void);
#endif /* _DRIVERS_INTEL_DPTF_H_ */