diff options
author | Marc Zyngier <maz@kernel.org> | 2025-06-25 12:18:05 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-06-30 12:29:05 -0500 |
commit | 643c0c9d0496c5727ca28cd841d069b5afee06cf (patch) | |
tree | 70ca9597e4c1ef076b028fcc8bee1f7e3ae6f8da /rust/helpers/helpers.c | |
parent | 19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (diff) |
PCI: apple: Add tracking of probed root ports
The apple driver relies on being able to directly find the matching root
port structure from the platform device that represents this port.
A previous hack stashed a pointer to the root port structure in the config
window private pointer, but that ended up relying on assumptions that break
other drivers.
Instead, bite the bullet and track the association as part of the driver
itself as a list of probed root ports.
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-3-maz@kernel.org
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions