1 --- a/arch/mips/amazon/pci.c
2 +++ b/arch/mips/amazon/pci.c
3 @@ -182,7 +182,7 @@ static struct pci_controller amazon_pci_
4 .io_resource = &pci_io_resource
7 -int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
8 +int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
12 @@ -240,7 +240,7 @@ int pcibios_plat_dev_init(struct pci_dev
16 -int amazon_pci_init(void)
17 +int __init amazon_pci_init(void)