fixup-lantiq.c (f26e8817b235d8764363bffcc9cbfc61867371f2) fixup-lantiq.c (19a8d6b7604df85402deecae01d7861cb1d40c89)
1/*
2 * This program is free software; you can redistribute it and/or modify it
3 * under the terms of the GNU General Public License version 2 as published
4 * by the Free Software Foundation.
5 *
6 * Copyright (C) 2012 John Crispin <john@phrozen.org>
7 */
8

--- 9 unchanged lines hidden (view full) ---

18 return ltq_pci_plat_arch_init(dev);
19
20 if (ltq_pci_plat_dev_init)
21 return ltq_pci_plat_dev_init(dev);
22
23 return 0;
24}
25
1/*
2 * This program is free software; you can redistribute it and/or modify it
3 * under the terms of the GNU General Public License version 2 as published
4 * by the Free Software Foundation.
5 *
6 * Copyright (C) 2012 John Crispin <john@phrozen.org>
7 */
8

--- 9 unchanged lines hidden (view full) ---

18 return ltq_pci_plat_arch_init(dev);
19
20 if (ltq_pci_plat_dev_init)
21 return ltq_pci_plat_dev_init(dev);
22
23 return 0;
24}
25
26int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
26int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
27{
28 return of_irq_parse_and_map_pci(dev, slot, pin);
29}
27{
28 return of_irq_parse_and_map_pci(dev, slot, pin);
29}