ar71xx: move PB42 specific PCI init code into a separate file
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / files / arch / mips / ar71xx / dev-pb42-pci.h
1 /*
2 * Atheros PB42 reference board PCI initialization
3 *
4 * Copyright (C) 2008-2009 Gabor Juhos <juhosg@openwrt.org>
5 * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published
9 * by the Free Software Foundation.
10 */
11
12 #ifndef _AR71XX_DEV_PB42_PCI_H
13 #define _AR71XX_DEV_PB42_PCI_H
14
15 #if defined(CONFIG_AR71XX_DEV_PB42_PCI)
16 void pb42_pci_init(void) __init;
17 #else
18 static inline void pb42_pci_init(void) { }
19 #endif
20
21 #endif /* _AR71XX_DEV_PB42_PCI_H */