backfire: ar71xx: populate LED configuration for WZR-HP-G300NH (backport of r24642)
[openwrt-10.03/.git] / target / linux / ar71xx / files / arch / mips / ar71xx / dev-ap94-pci.h
1 /*
2  *  Atheros AP94 reference board PCI initialization
3  *
4  *  Copyright (C) 2009-2010 Gabor Juhos <juhosg@openwrt.org>
5  *
6  *  This program is free software; you can redistribute it and/or modify it
7  *  under the terms of the GNU General Public License version 2 as published
8  *  by the Free Software Foundation.
9  */
10
11 #ifndef _AR71XX_DEV_AP94_PCI_H
12 #define _AR71XX_DEV_AP94_PCI_H
13
14 #if defined(CONFIG_AR71XX_DEV_AP94_PCI)
15 void ap94_pci_init(u8 *cal_data0, u8 *mac_addr0,
16                    u8 *cal_data1, u8 *mac_addr1) __init;
17
18 void ap94_pci_enable_quirk_wndr3700(void) __init;
19
20 #else
21 static inline void ap94_pci_init(u8 *cal_data0, u8 *mac_addr0,
22                                  u8 *cal_data1, u8 *mac_addr1) {}
23
24 static inline void ap94_pci_enable_quirk_wndr3700(void) {}
25 #endif
26
27 #endif /* _AR71XX_DEV_AP94_PCI_H */
28