Merge branch 'for-3.5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj...
[firefly-linux-kernel-4.4.55.git] / arch / mips / include / asm / mach-ath79 / pci.h
1 /*
2  *  Atheros AR71XX/AR724X PCI support
3  *
4  *  Copyright (C) 2011 RenĂ© Bolldorf <xsecute@googlemail.com>
5  *  Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org>
6  *  Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
7  *
8  *  This program is free software; you can redistribute it and/or modify it
9  *  under the terms of the GNU General Public License version 2 as published
10  *  by the Free Software Foundation.
11  */
12
13 #ifndef __ASM_MACH_ATH79_PCI_H
14 #define __ASM_MACH_ATH79_PCI_H
15
16 #if defined(CONFIG_PCI) && defined(CONFIG_SOC_AR71XX)
17 int ar71xx_pcibios_init(void);
18 #else
19 static inline int ar71xx_pcibios_init(void) { return 0; }
20 #endif
21
22 #if defined(CONFIG_PCI_AR724X)
23 int ar724x_pcibios_init(int irq);
24 #else
25 static inline int ar724x_pcibios_init(int irq) { return 0; }
26 #endif
27
28 #endif /* __ASM_MACH_ATH79_PCI_H */