Browse Source

Staging: wlan-ng: Move netdevice_t typedef into p80211netdev.h

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Moritz Muehlenhoff 16 years ago
parent
commit
96c5abd7f8
2 changed files with 4 additions and 3 deletions
  1. 4 0
      drivers/staging/wlan-ng/p80211netdev.h
  2. 0 3
      drivers/staging/wlan-ng/wlan_compat.h

+ 4 - 0
drivers/staging/wlan-ng/p80211netdev.h

@@ -55,10 +55,14 @@
 
 #include <linux/interrupt.h>
 #include <linux/wireless.h>
+#include <linux/netdevice.h>
 
 /*================================================================*/
 /* Constants */
 
+#undef netdevice_t
+typedef struct net_device netdevice_t;
+
 #define WLAN_RELEASE	"0.3.0-staging"
 
 #define WLAN_DEVICE_CLOSED	0

+ 0 - 3
drivers/staging/wlan-ng/wlan_compat.h

@@ -48,9 +48,6 @@
 #ifndef _WLAN_COMPAT_H
 #define _WLAN_COMPAT_H
 
-#undef netdevice_t
-typedef struct net_device netdevice_t;
-
 /*=============================================================*/
 /*------ OS Portability Macros --------------------------------*/
 /*=============================================================*/