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

ramips: specify eeprom file name on RT288X

File:
1 edited

Legend:

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

    r25129 r27391  
    1717#include <linux/err.h> 
    1818#include <linux/clk.h> 
     19#include <linux/rt2x00_platform.h> 
    1920 
    2021#include <asm/addrspace.h> 
     
    114115}; 
    115116 
     117static struct rt2x00_platform_data rt288x_wifi_data; 
    116118static struct platform_device rt288x_wifi_device = { 
    117119        .name                   = "rt2800_wmac", 
     
    119121        .num_resources  = ARRAY_SIZE(rt288x_wifi_resources), 
    120122        .dev = { 
    121                 .platform_data = NULL, 
     123                .platform_data = &rt288x_wifi_data, 
    122124        } 
    123125}; 
     
    125127void __init rt288x_register_wifi(void) 
    126128{ 
     129        rt288x_wifi_data.eeprom_file_name = "RT288X.eeprom"; 
    127130        platform_device_register(&rt288x_wifi_device); 
    128131} 
Note: See TracChangeset for help on using the changeset viewer.