diff options
-rw-r--r-- | src/drivers/intel/dptf/dptf.c | 2 | ||||
-rw-r--r-- | src/drivers/intel/dptf/dptf.h | 6 | ||||
-rw-r--r-- | src/soc/intel/alderlake/dptf.c | 2 | ||||
-rw-r--r-- | src/soc/intel/apollolake/dptf.c | 2 | ||||
-rw-r--r-- | src/soc/intel/cannonlake/dptf.c | 2 | ||||
-rw-r--r-- | src/soc/intel/jasperlake/dptf.c | 2 | ||||
-rw-r--r-- | src/soc/intel/tigerlake/dptf.c | 2 |
7 files changed, 11 insertions, 7 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_ */ diff --git a/src/soc/intel/alderlake/dptf.c b/src/soc/intel/alderlake/dptf.c index 7016d8c1bd..e01e71627f 100644 --- a/src/soc/intel/alderlake/dptf.c +++ b/src/soc/intel/alderlake/dptf.c @@ -28,7 +28,7 @@ static const struct dptf_platform_info adl_dptf_platform_info = { }, }; -const struct dptf_platform_info *get_dptf_platform_info(void) +const struct dptf_platform_info *soc_get_dptf_platform_info(void) { return &adl_dptf_platform_info; } diff --git a/src/soc/intel/apollolake/dptf.c b/src/soc/intel/apollolake/dptf.c index b5accc99c5..391a2d1ed0 100644 --- a/src/soc/intel/apollolake/dptf.c +++ b/src/soc/intel/apollolake/dptf.c @@ -12,7 +12,7 @@ static const struct dptf_platform_info apl_dptf_platform_info = { .fan_hid = "INT3404", }; -const struct dptf_platform_info *get_dptf_platform_info(void) +const struct dptf_platform_info *soc_get_dptf_platform_info(void) { return &apl_dptf_platform_info; } diff --git a/src/soc/intel/cannonlake/dptf.c b/src/soc/intel/cannonlake/dptf.c index d842858712..8f1f98a9e8 100644 --- a/src/soc/intel/cannonlake/dptf.c +++ b/src/soc/intel/cannonlake/dptf.c @@ -12,7 +12,7 @@ static const struct dptf_platform_info cnl_dptf_platform_info = { .fan_hid = "INT3404", }; -const struct dptf_platform_info *get_dptf_platform_info(void) +const struct dptf_platform_info *soc_get_dptf_platform_info(void) { return &cnl_dptf_platform_info; } diff --git a/src/soc/intel/jasperlake/dptf.c b/src/soc/intel/jasperlake/dptf.c index be6804cd45..4ee38de2a1 100644 --- a/src/soc/intel/jasperlake/dptf.c +++ b/src/soc/intel/jasperlake/dptf.c @@ -12,7 +12,7 @@ static const struct dptf_platform_info jsl_dptf_platform_info = { .fan_hid = "INT3404", }; -const struct dptf_platform_info *get_dptf_platform_info(void) +const struct dptf_platform_info *soc_get_dptf_platform_info(void) { return &jsl_dptf_platform_info; } diff --git a/src/soc/intel/tigerlake/dptf.c b/src/soc/intel/tigerlake/dptf.c index 2f4cf5f5ae..482e3c200a 100644 --- a/src/soc/intel/tigerlake/dptf.c +++ b/src/soc/intel/tigerlake/dptf.c @@ -13,7 +13,7 @@ static const struct dptf_platform_info tgl_dptf_platform_info = { .fan_hid = "INTC1044", }; -const struct dptf_platform_info *get_dptf_platform_info(void) +const struct dptf_platform_info *soc_get_dptf_platform_info(void) { return &tgl_dptf_platform_info; } |