mirror of https://github.com/torvalds/linux.git
Revert "PCI: ecam: Allow cfg->priv to be pre-populated from the root port device"
This reverts commit 4900454b4f.
Now that nobody relies of cfg->priv containing anything useful before the
.init() callback is used, restore the previous behaviour.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20250625111806.4153773-4-maz@kernel.org
This commit is contained in:
parent
bdb32a0f67
commit
ba74278c63
|
|
@ -84,8 +84,6 @@ struct pci_config_window *pci_ecam_create(struct device *dev,
|
|||
goto err_exit_iomap;
|
||||
}
|
||||
|
||||
cfg->priv = dev_get_drvdata(dev);
|
||||
|
||||
if (ops->init) {
|
||||
err = ops->init(cfg);
|
||||
if (err)
|
||||
|
|
|
|||
Loading…
Reference in New Issue