@@ -4672,7 +4672,7 @@ static ssize_t proc_write(struct file *file,
46724672static int proc_status_open (struct inode * inode , struct file * file )
46734673{
46744674 struct proc_data * data ;
4675- struct net_device * dev = PDE_DATA (inode );
4675+ struct net_device * dev = pde_data (inode );
46764676 struct airo_info * apriv = dev -> ml_priv ;
46774677 CapabilityRid cap_rid ;
46784678 StatusRid status_rid ;
@@ -4756,7 +4756,7 @@ static int proc_stats_rid_open(struct inode *inode,
47564756 u16 rid )
47574757{
47584758 struct proc_data * data ;
4759- struct net_device * dev = PDE_DATA (inode );
4759+ struct net_device * dev = pde_data (inode );
47604760 struct airo_info * apriv = dev -> ml_priv ;
47614761 StatsRid stats ;
47624762 int i , j ;
@@ -4819,7 +4819,7 @@ static inline int sniffing_mode(struct airo_info *ai)
48194819static void proc_config_on_close (struct inode * inode , struct file * file )
48204820{
48214821 struct proc_data * data = file -> private_data ;
4822- struct net_device * dev = PDE_DATA (inode );
4822+ struct net_device * dev = pde_data (inode );
48234823 struct airo_info * ai = dev -> ml_priv ;
48244824 char * line ;
48254825
@@ -5030,7 +5030,7 @@ static const char *get_rmode(__le16 mode)
50305030static int proc_config_open (struct inode * inode , struct file * file )
50315031{
50325032 struct proc_data * data ;
5033- struct net_device * dev = PDE_DATA (inode );
5033+ struct net_device * dev = pde_data (inode );
50345034 struct airo_info * ai = dev -> ml_priv ;
50355035 int i ;
50365036 __le16 mode ;
@@ -5120,7 +5120,7 @@ static int proc_config_open(struct inode *inode, struct file *file)
51205120static void proc_SSID_on_close (struct inode * inode , struct file * file )
51215121{
51225122 struct proc_data * data = file -> private_data ;
5123- struct net_device * dev = PDE_DATA (inode );
5123+ struct net_device * dev = pde_data (inode );
51245124 struct airo_info * ai = dev -> ml_priv ;
51255125 SsidRid SSID_rid ;
51265126 int i ;
@@ -5156,7 +5156,7 @@ static void proc_SSID_on_close(struct inode *inode, struct file *file)
51565156static void proc_APList_on_close (struct inode * inode , struct file * file )
51575157{
51585158 struct proc_data * data = file -> private_data ;
5159- struct net_device * dev = PDE_DATA (inode );
5159+ struct net_device * dev = pde_data (inode );
51605160 struct airo_info * ai = dev -> ml_priv ;
51615161 APListRid * APList_rid = & ai -> APList ;
51625162 int i ;
@@ -5280,7 +5280,7 @@ static int set_wep_tx_idx(struct airo_info *ai, u16 index, int perm, int lock)
52805280static void proc_wepkey_on_close (struct inode * inode , struct file * file )
52815281{
52825282 struct proc_data * data ;
5283- struct net_device * dev = PDE_DATA (inode );
5283+ struct net_device * dev = pde_data (inode );
52845284 struct airo_info * ai = dev -> ml_priv ;
52855285 int i , rc ;
52865286 char key [16 ];
@@ -5331,7 +5331,7 @@ static void proc_wepkey_on_close(struct inode *inode, struct file *file)
53315331static int proc_wepkey_open (struct inode * inode , struct file * file )
53325332{
53335333 struct proc_data * data ;
5334- struct net_device * dev = PDE_DATA (inode );
5334+ struct net_device * dev = pde_data (inode );
53355335 struct airo_info * ai = dev -> ml_priv ;
53365336 char * ptr ;
53375337 WepKeyRid wkr ;
@@ -5379,7 +5379,7 @@ static int proc_wepkey_open(struct inode *inode, struct file *file)
53795379static int proc_SSID_open (struct inode * inode , struct file * file )
53805380{
53815381 struct proc_data * data ;
5382- struct net_device * dev = PDE_DATA (inode );
5382+ struct net_device * dev = pde_data (inode );
53835383 struct airo_info * ai = dev -> ml_priv ;
53845384 int i ;
53855385 char * ptr ;
@@ -5423,7 +5423,7 @@ static int proc_SSID_open(struct inode *inode, struct file *file)
54235423static int proc_APList_open (struct inode * inode , struct file * file )
54245424{
54255425 struct proc_data * data ;
5426- struct net_device * dev = PDE_DATA (inode );
5426+ struct net_device * dev = pde_data (inode );
54275427 struct airo_info * ai = dev -> ml_priv ;
54285428 int i ;
54295429 char * ptr ;
@@ -5462,7 +5462,7 @@ static int proc_APList_open(struct inode *inode, struct file *file)
54625462static int proc_BSSList_open (struct inode * inode , struct file * file )
54635463{
54645464 struct proc_data * data ;
5465- struct net_device * dev = PDE_DATA (inode );
5465+ struct net_device * dev = pde_data (inode );
54665466 struct airo_info * ai = dev -> ml_priv ;
54675467 char * ptr ;
54685468 BSSListRid BSSList_rid ;
0 commit comments