]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: cadence: Set cdns_pcie_host_init() global
authorThomas Richard <thomas.richard@bootlin.com>
Wed, 19 Jun 2024 10:15:10 +0000 (12:15 +0200)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Tue, 3 Sep 2024 18:27:14 +0000 (18:27 +0000)
commit063c938928dc80c2bfd66f34df48344db22e009b
tree71a2606162fe9b6b1975e1eb0317c2318c66cecb
parentd1b6f2e2ce4d8b17d9f3558c98a1517b864bfd03
PCI: cadence: Set cdns_pcie_host_init() global

During the resume sequence of the host, cdns_pcie_host_init() needs to be
called, so set it global.

The dev function parameter is removed, as it isn't used.

Link: https://lore.kernel.org/linux-pci/20240102-j7200-pcie-s2r-v7-2-a2f9156da6c3@bootlin.com
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>
drivers/pci/controller/cadence/pcie-cadence-host.c
drivers/pci/controller/cadence/pcie-cadence.h