diff options
Diffstat (limited to 'src/soc/intel/jasperlake/pmc.c')
-rw-r--r-- | src/soc/intel/jasperlake/pmc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/soc/intel/jasperlake/pmc.c b/src/soc/intel/jasperlake/pmc.c index 6223ed7eee..a9fc525779 100644 --- a/src/soc/intel/jasperlake/pmc.c +++ b/src/soc/intel/jasperlake/pmc.c @@ -53,7 +53,7 @@ static void config_deep_sx(uint32_t deepsx_config) write32(pmcbase + DSX_CFG, reg); } -static void pmc_init(struct device *dev) +static void soc_pmc_enable(struct device *dev) { const config_t *config = config_of_soc(); @@ -80,7 +80,7 @@ static void soc_pmc_read_resources(struct device *dev) res->flags = IORESOURCE_IO | IORESOURCE_ASSIGNED | IORESOURCE_FIXED; } -static void soc_acpi_mode_init(struct device *dev) +static void soc_pmc_init(struct device *dev) { /* * pmc_set_acpi_mode() should be delayed until BS_DEV_INIT in order @@ -111,8 +111,8 @@ static void pmc_fill_ssdt(const struct device *dev) struct device_operations pmc_ops = { .read_resources = soc_pmc_read_resources, .set_resources = noop_set_resources, - .init = soc_acpi_mode_init, - .enable = pmc_init, + .init = soc_pmc_init, + .enable = soc_pmc_enable, #if CONFIG(HAVE_ACPI_TABLES) .acpi_fill_ssdt = pmc_fill_ssdt, #endif |