File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4163,7 +4163,7 @@ EXPORT_SYMBOL(pci_request_regions_exclusive);
4163
4163
* Record the PCI IO range (expressed as CPU physical address + size).
4164
4164
* Return a negative value if an error has occurred, zero otherwise
4165
4165
*/
4166
- int pci_register_io_range (struct fwnode_handle * fwnode , phys_addr_t addr ,
4166
+ int pci_register_io_range (const struct fwnode_handle * fwnode , phys_addr_t addr ,
4167
4167
resource_size_t size )
4168
4168
{
4169
4169
int ret = 0 ;
Original file line number Diff line number Diff line change @@ -1556,7 +1556,7 @@ int __must_check pci_bus_alloc_resource(struct pci_bus *bus,
1556
1556
void * alignf_data );
1557
1557
1558
1558
1559
- int pci_register_io_range (struct fwnode_handle * fwnode , phys_addr_t addr ,
1559
+ int pci_register_io_range (const struct fwnode_handle * fwnode , phys_addr_t addr ,
1560
1560
resource_size_t size );
1561
1561
unsigned long pci_address_to_pio (phys_addr_t addr );
1562
1562
phys_addr_t pci_pio_to_address (unsigned long pio );
@@ -2019,7 +2019,7 @@ static inline int pci_request_regions(struct pci_dev *dev, const char *res_name)
2019
2019
{ return - EIO ; }
2020
2020
static inline void pci_release_regions (struct pci_dev * dev ) { }
2021
2021
2022
- static inline int pci_register_io_range (struct fwnode_handle * fwnode ,
2022
+ static inline int pci_register_io_range (const struct fwnode_handle * fwnode ,
2023
2023
phys_addr_t addr , resource_size_t size )
2024
2024
{ return - EINVAL ; }
2025
2025
You can’t perform that action at this time.
0 commit comments