ACPI: PCI: Constify fwnode_handle in acpi_pci_root_remap_iospace()
The fwnode_handle pointer passed into pci_register_io_range() is not modified, so annotate it as const. Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn> Link: https://patch.msgid.link/7ae7866ab8b897253703ecee44c688b6832d49a3.1745552799.git.xiaopei01@kylinos.cn [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>pull/1250/head
parent
92a09c4746
commit
eba614b828
|
|
@ -858,7 +858,7 @@ next:
|
|||
}
|
||||
}
|
||||
|
||||
static void acpi_pci_root_remap_iospace(struct fwnode_handle *fwnode,
|
||||
static void acpi_pci_root_remap_iospace(const struct fwnode_handle *fwnode,
|
||||
struct resource_entry *entry)
|
||||
{
|
||||
#ifdef PCI_IOBASE
|
||||
|
|
|
|||
Loading…
Reference in New Issue