Changeset 27392


Ignore:
Timestamp:
2011-07-03T17:02:00+02:00 (7 years ago)
Author:
juhosg
Message:

ramips: specify eeprom file name on RT305X

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c

    r25127 r27392  
    1515#include <linux/mtd/mtd.h> 
    1616#include <linux/mtd/physmap.h> 
     17#include <linux/rt2x00_platform.h> 
    1718 
    1819#include <asm/addrspace.h> 
     
    177178}; 
    178179 
     180static struct rt2x00_platform_data rt305x_wifi_data; 
    179181static struct platform_device rt305x_wifi_device = { 
    180182        .name                   = "rt2800_wmac", 
     
    182184        .num_resources  = ARRAY_SIZE(rt305x_wifi_resources), 
    183185        .dev = { 
    184                 .platform_data = NULL, 
     186                .platform_data = &rt305x_wifi_data, 
    185187        } 
    186188}; 
     
    188190void __init rt305x_register_wifi(void) 
    189191{ 
     192        rt305x_wifi_data.eeprom_file_name = "RT305X.eeprom"; 
    190193        platform_device_register(&rt305x_wifi_device); 
    191194} 
Note: See TracChangeset for help on using the changeset viewer.