summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pwrctl/pci-pwrctl-pwrseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/pwrctl/pci-pwrctl-pwrseq.c')
-rw-r--r--drivers/pci/pwrctl/pci-pwrctl-pwrseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pwrctl/pci-pwrctl-pwrseq.c b/drivers/pci/pwrctl/pci-pwrctl-pwrseq.c
index c7a113a76c0c..f07758c9edad 100644
--- a/drivers/pci/pwrctl/pci-pwrctl-pwrseq.c
+++ b/drivers/pci/pwrctl/pci-pwrctl-pwrseq.c
@@ -50,7 +50,7 @@ static int pci_pwrctl_pwrseq_probe(struct platform_device *pdev)
if (ret)
return ret;
- data->ctx.dev = dev;
+ pci_pwrctl_init(&data->ctx, dev);
ret = devm_pci_pwrctl_device_set_ready(dev, &data->ctx);
if (ret)