diff options
Diffstat (limited to 'src/soc/intel')
-rw-r--r-- | src/soc/intel/cannonlake/include/soc/pmc.h | 4 | ||||
-rw-r--r-- | src/soc/intel/cannonlake/pmc.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/soc/intel/cannonlake/include/soc/pmc.h b/src/soc/intel/cannonlake/include/soc/pmc.h index 992e60deac..c3957d39c8 100644 --- a/src/soc/intel/cannonlake/include/soc/pmc.h +++ b/src/soc/intel/cannonlake/include/soc/pmc.h @@ -162,4 +162,8 @@ #define SCIS_IRQ21 5 #define SCIS_IRQ22 6 #define SCIS_IRQ23 7 + +struct device; +void pmc_set_afterg3(struct device *dev, int s5pwr); + #endif diff --git a/src/soc/intel/cannonlake/pmc.c b/src/soc/intel/cannonlake/pmc.c index 4dabb2ecef..e111e941e6 100644 --- a/src/soc/intel/cannonlake/pmc.c +++ b/src/soc/intel/cannonlake/pmc.c @@ -30,7 +30,7 @@ * Set which power state system will be after reapplying * the power (from G3 State) */ -static void pmc_set_afterg3(struct device *dev, int s5pwr) +void pmc_set_afterg3(struct device *dev, int s5pwr) { uint8_t reg8; uint8_t *pmcbase = pmc_mmio_regs(); |