OpenWrt – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 --- a/arch/mips/ath79/dev-wmac.c
2 +++ b/arch/mips/ath79/dev-wmac.c
3 @@ -190,3 +190,9 @@ void __init ath79_register_wmac(u8 *cal_
4  
5 platform_device_register(&ath79_wmac_device);
6 }
7 +
8 +void __init ath79_register_wmac_simple(void)
9 +{
10 + ath79_register_wmac(NULL, NULL);
11 + ath79_wmac_data.eeprom_name = "soc_wmac.eeprom";
12 +}
13 --- a/arch/mips/ath79/dev-wmac.h
14 +++ b/arch/mips/ath79/dev-wmac.h
15 @@ -13,5 +13,6 @@
16 #define _ATH79_DEV_WMAC_H
17  
18 void ath79_register_wmac(u8 *cal_data, u8 *mac_addr);
19 +void ath79_register_wmac_simple(void);
20  
21 #endif /* _ATH79_DEV_WMAC_H */