ar71xx: move arch specific files to files-2.6.39
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / files-2.6.39 / arch / mips / ar71xx / dev-db120-pci.h
1 /*
2 * Atheros DB120 reference board PCI initialization
3 *
4 * Copyright (C) 2010-2011 Jaiganesh Narayanan <jnarayanan@atheros.com>
5 * Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
6 *
7 * Parts of this file are based on Atheros linux 2.6.31 BSP
8 *
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License version 2 as published
11 * by the Free Software Foundation.
12 */
13
14 #ifndef _AR71XX_DEV_DB120_PCI_H
15 #define _AR71XX_DEV_DB120_PCI_H
16
17 #if defined(CONFIG_AR71XX_DEV_DB120_PCI)
18 void db120_pci_init(u8 *cal_data, u8 *mac_addr);
19 #else
20 static inline void db120_pci_init(u8 *cal_data, u8 *mac_addr) { }
21 #endif
22
23 #endif /* _AR71XX_DEV_DB120_PCI_H */