Changeset 27045


Ignore:
Timestamp:
2011-06-01T00:53:15+02:00 (7 years ago)
Author:
juhosg
Message:

ar71xx: initialize is_clk_25mhz field for AR9340 WMAC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/dev-ar9xxx-wmac.c

    r26840 r27045  
    2323 
    2424#include "dev-ar9xxx-wmac.h" 
     25 
     26#define MHZ_25  (25 * 1000 * 1000) 
    2527 
    2628static struct ath9k_platform_data ar9xxx_wmac_data = { 
     
    6769        ar9xxx_wmac_resources[0].start = AR934X_WMAC_BASE; 
    6870        ar9xxx_wmac_resources[0].end = AR934X_WMAC_BASE + AR934X_WMAC_SIZE - 1; 
     71        if (ar71xx_ref_freq == MHZ_25) 
     72                ar9xxx_wmac_data.is_clk_25mhz = true; 
    6973} 
    7074 
Note: See TracChangeset for help on using the changeset viewer.