mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
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>
This commit is contained in:
committed by
Rafael J. Wysocki
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
|
||||
|
||||
Reference in New Issue
Block a user