},
};
-static struct rt2x00_platform_data rt3883_wlan_data = {
- .eeprom_file_name = "RT3883.eeprom",
-};
-
+struct rt2x00_platform_data rt3883_wlan_data;
static struct platform_device rt3883_wlan_device = {
.name = "rt2800_wmac",
.resource = rt3883_wlan_resources,
void __init rt3883_register_wlan(void)
{
+ rt3883_wlan_data.eeprom_file_name = "RT3883.eeprom",
platform_device_register(&rt3883_wlan_device);
}
extern struct ramips_eth_platform_data rt3883_eth_data;
void rt3883_register_ethernet(void);
void rt3883_register_usbhost(void);
+
+extern struct rt2x00_platform_data rt3883_wlan_data;
void rt3883_register_wlan(void);
void rt3883_register_wdt(bool enable_reset);