Changeset 26247


Ignore:
Timestamp:
2011-03-21T03:22:12+01:00 (7 years ago)
Author:
nbd
Message:

ath9k: add some minor debugfs cleanups

Location:
trunk/package/mac80211/patches
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/500-ath9k_eeprom_debugfs.patch

    r26128 r26247  
    5555 { 
    5656        struct ath_common *common = ath9k_hw_common(ah); 
    57 @@ -1151,6 +1198,10 @@ int ath9k_init_debug(struct ath_hw *ah) 
     57@@ -1151,6 +1198,9 @@ int ath9k_init_debug(struct ath_hw *ah) 
    5858        debugfs_create_u32("gpio_val", S_IRUSR | S_IWUSR, 
    5959                           sc->debug.debugfs_phy, &sc->sc_ah->gpio_val); 
    6060  
    61 +       if (!debugfs_create_file("eeprom", S_IRUSR, 
    62 +                       sc->debug.debugfs_phy, sc, &fops_eeprom)) 
    63 +               goto err; 
     61+       debugfs_create_file("eeprom", S_IRUSR, sc->debug.debugfs_phy, sc, 
     62+                           &fops_eeprom); 
    6463+ 
    6564        sc->debug.regidx = 0; 
Note: See TracChangeset for help on using the changeset viewer.