Changeset 40

Show
Ignore:
Timestamp:
03/15/03 19:31:47 (5 years ago)
Author:
sam
Message:

Replicated Change 72 by sam@borg_greg on 2003/03/03 09:49:01<<<

make proc fs init/remove conditional on CONFIG_PROC_FS

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cvs-import/trunk/driver/if_ath.c

    r39 r40  
    234234                dev->name, ether_sprintf(dev->dev_addr)); 
    235235 
     236#ifdef CONFIG_PROC_FS 
    236237        ath_proc_init(sc); 
    237  
     238#endif 
    238239        sc->sc_attached = 1; 
    239240 
     
    257258                ath_desc_free(sc); 
    258259                ath_hal_detach(sc->sc_ah); 
     260#ifdef CONFIG_PROC_FS 
    259261                ath_proc_remove(sc); 
     262#endif 
    260263                ieee80211_ifdetach(dev); 
    261264        }