OSDN Git Service

Staging: wlan-ng: Move netdevice_t typedef into p80211netdev.h
authorMoritz Muehlenhoff <jmm@debian.org>
Thu, 5 Feb 2009 22:55:56 +0000 (23:55 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:21 +0000 (14:53 -0700)
Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/wlan-ng/p80211netdev.h
drivers/staging/wlan-ng/wlan_compat.h

index ca65a4a..cbd02d2 100644 (file)
 
 #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
index 6ea47fc..5c91332 100644 (file)
@@ -48,9 +48,6 @@
 #ifndef _WLAN_COMPAT_H
 #define _WLAN_COMPAT_H
 
-#undef netdevice_t
-typedef struct net_device netdevice_t;
-
 /*=============================================================*/
 /*------ OS Portability Macros --------------------------------*/
 /*=============================================================*/