drivers: replace power/power.h with pm/device.h
Drivers need access to the device PM API, so just include pm/device.h. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
ddfd27dbfb
commit
3863be02a5
10 changed files with 10 additions and 10 deletions
|
@ -10,7 +10,7 @@
|
|||
#include <device.h>
|
||||
#include <drivers/entropy.h>
|
||||
#include <irq.h>
|
||||
#include <power/power.h>
|
||||
#include <pm/device.h>
|
||||
|
||||
#include <sys/ring_buffer.h>
|
||||
#include <sys/sys_io.h>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#endif
|
||||
|
||||
#ifdef CONFIG_PM_DEVICE
|
||||
#include <power/power.h>
|
||||
#include <pm/device.h>
|
||||
#endif
|
||||
|
||||
static int gpio_dw_port_set_bits_raw(const struct device *port, uint32_t mask);
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <kernel.h>
|
||||
#include <drivers/i2c.h>
|
||||
#include <power/power.h>
|
||||
#include <pm/device.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_I2C_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
extern void *_VectorTable;
|
||||
|
||||
#ifdef CONFIG_PM_DEVICE
|
||||
#include <power/power.h>
|
||||
#include <pm/device.h>
|
||||
#include <kernel_structs.h>
|
||||
|
||||
#ifdef CONFIG_ARC_SECURE_FIRMWARE
|
||||
|
|
|
@ -88,7 +88,7 @@ DEVICE_MMIO_TOPLEVEL_STATIC(ioapic_regs, DT_DRV_INST(0));
|
|||
static uint32_t ioapic_rtes;
|
||||
|
||||
#ifdef CONFIG_PM_DEVICE
|
||||
#include <power/power.h>
|
||||
#include <pm/device.h>
|
||||
|
||||
#define BITS_PER_IRQ 4
|
||||
#define IOAPIC_BITFIELD_HI_LO 0
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
#define LOPIC_SSPND_BITS_PER_IRQ 1 /* Just the one for enable disable*/
|
||||
#define LOPIC_SUSPEND_BITS_REQD (ROUND_UP((LOAPIC_IRQ_COUNT * LOPIC_SSPND_BITS_PER_IRQ), 32))
|
||||
#ifdef CONFIG_PM_DEVICE
|
||||
#include <power/power.h>
|
||||
#include <pm/device.h>
|
||||
uint32_t loapic_suspend_buf[LOPIC_SUSPEND_BITS_REQD / 32] = {0};
|
||||
static uint32_t loapic_device_power_state = DEVICE_PM_ACTIVE_STATE;
|
||||
#endif
|
||||
|
|
|
@ -19,7 +19,7 @@ LOG_MODULE_REGISTER(modem_hl7800, CONFIG_MODEM_LOG_LEVEL);
|
|||
#include <device.h>
|
||||
#include <init.h>
|
||||
|
||||
#include <power/power.h>
|
||||
#include <pm/device.h>
|
||||
#include <drivers/uart.h>
|
||||
|
||||
#include <net/net_context.h>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include <device.h>
|
||||
#include <errno.h>
|
||||
#include <sys/__assert.h>
|
||||
#include <power/power.h>
|
||||
#include <pm/device.h>
|
||||
#include <drivers/uart.h>
|
||||
|
||||
#include <driverlib/ioc.h>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include <drivers/uart.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <kernel.h>
|
||||
#include <power/power.h>
|
||||
#include <pm/device.h>
|
||||
#include <soc.h>
|
||||
#include "soc_miwu.h"
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
LOG_MODULE_REGISTER(spi_cc13xx_cc26xx);
|
||||
|
||||
#include <drivers/spi.h>
|
||||
#include <power/power.h>
|
||||
#include <pm/device.h>
|
||||
|
||||
#include <driverlib/prcm.h>
|
||||
#include <driverlib/ssi.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue