ar71xx: move AP91 specific ethernet initialization into a separate file
[openwrt-10.03/.git] / target / linux / ar71xx / files / arch / mips / ar71xx / dev-ap91-eth.h
1 /*
2  *  Atheros AP91 reference board ethernet initialization
3  *
4  *  Copyright (C) 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_AP91_ETH_H
12 #define _AR71XX_DEV_AP91_ETH_H
13
14 #if defined(CONFIG_AR71XX_DEV_AP91_ETH)
15 void ap91_eth_init(u8 *mac_addr) __init;
16 #else
17 static inline void ap91_eth_init(u8 *mac_addr) { }
18 #endif
19
20 #endif /* _AR71XX_DEV_AP91_ETH_H */
21