fix(power): Fix for 2.4 API changes.
This commit is contained in:
parent
1c822754c0
commit
d698847769
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ static int ext_power_generic_init(const struct device *dev) {
|
|||
static int ext_power_generic_pm_control(const struct device *dev, uint32_t ctrl_command,
|
||||
void *context, device_pm_cb cb, void *arg) {
|
||||
int rc;
|
||||
struct ext_power_generic_data *data = dev->driver_data;
|
||||
struct ext_power_generic_data *data = dev->data;
|
||||
|
||||
switch (ctrl_command) {
|
||||
case DEVICE_PM_SET_POWER_STATE:
|
||||
|
|
Loading…
Reference in a new issue