diff options
Diffstat (limited to 'arch/arm/mach-cns3xxx/pcie.c')
-rw-r--r-- | arch/arm/mach-cns3xxx/pcie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-cns3xxx/pcie.c b/arch/arm/mach-cns3xxx/pcie.c index a4ec080908b8..06fd25d70aec 100644 --- a/arch/arm/mach-cns3xxx/pcie.c +++ b/arch/arm/mach-cns3xxx/pcie.c | |||
@@ -172,7 +172,7 @@ static struct pci_bus *cns3xxx_pci_scan_bus(int nr, struct pci_sys_data *sys) | |||
172 | return pci_scan_bus(sys->busnr, &cns3xxx_pcie_ops, sys); | 172 | return pci_scan_bus(sys->busnr, &cns3xxx_pcie_ops, sys); |
173 | } | 173 | } |
174 | 174 | ||
175 | static int cns3xxx_pcie_map_irq(struct pci_dev *dev, u8 slot, u8 pin) | 175 | static int cns3xxx_pcie_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) |
176 | { | 176 | { |
177 | struct cns3xxx_pcie *cnspci = pdev_to_cnspci(dev); | 177 | struct cns3xxx_pcie *cnspci = pdev_to_cnspci(dev); |
178 | int irq = cnspci->irqs[slot]; | 178 | int irq = cnspci->irqs[slot]; |