PCI: Constify pci_register_io_range() fwnode_handle
authorRob Herring (Arm) <robh@kernel.org>
Thu, 10 Oct 2024 16:27:14 +0000 (11:27 -0500)
committerRob Herring (Arm) <robh@kernel.org>
Tue, 15 Oct 2024 13:58:35 +0000 (08:58 -0500)
commitf68303cf1cf2fb96e20df5499c194f1fe5bab9e2
treef1b99c876c17b0ebabfdc03732423a1c535b335c
parent6ba55951e70bf7a8d89c03aa5612d2e0c81ded6d
PCI: Constify pci_register_io_range() fwnode_handle

pci_register_io_range() does not modify the passed in fwnode_handle, so
make it const.

Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241010-dt-const-v1-1-87a51f558425@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
drivers/pci/pci.c
include/linux/pci.h