1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 03:01:55 +02:00

ramips: rt3883: make rt3883_wlan_data visible

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30631 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2012-02-18 17:36:16 +00:00
parent 694c4439dc
commit 78d0623f6c
2 changed files with 4 additions and 4 deletions

View File

@ -310,10 +310,7 @@ static struct resource rt3883_wlan_resources[] = {
},
};
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,
@ -325,6 +322,7 @@ static struct platform_device rt3883_wlan_device = {
void __init rt3883_register_wlan(void)
{
rt3883_wlan_data.eeprom_file_name = "RT3883.eeprom",
platform_device_register(&rt3883_wlan_device);
}

View File

@ -23,6 +23,8 @@ void rt3883_register_nand(struct mtd_partition *parts, int nr_parts);
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);