]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
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 ca65a4a9fb762524f377c6810f5441218de5d7c4..cbd02d2272e08007eeece807409f4796849e246c 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 6ea47fc02cac30040e1fd835e13cc7075b1b0768..5c91332d2f61a664ccee3b1151078465a01af134 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 --------------------------------*/
 /*=============================================================*/