Gitweb: http://git.kernel.org/linus/96c5abd7f84272447a74c2a854c89f9cbd4018b2 Commit: 96c5abd7f84272447a74c2a854c89f9cbd4018b2 Parent: ea045ba02086c008505ab1a6a7a60856072be65f Author: Moritz Muehlenhoff <jmm@debian.org> AuthorDate: Thu Feb 5 23:55:56 2009 +0100 Committer: Greg Kroah-Hartman <gregkh@suse.de> CommitDate: Fri Apr 3 14:53:21 2009 -0700 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> --- drivers/staging/wlan-ng/p80211netdev.h | 4 ++++ drivers/staging/wlan-ng/wlan_compat.h | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211netdev.h b/drivers/staging/wlan-ng/p80211netdev.h index ca65a4a..cbd02d2 100644 --- a/drivers/staging/wlan-ng/p80211netdev.h +++ b/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 diff --git a/drivers/staging/wlan-ng/wlan_compat.h b/drivers/staging/wlan-ng/wlan_compat.h index 6ea47fc..5c91332 100644 --- a/drivers/staging/wlan-ng/wlan_compat.h +++ b/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 --------------------------------*/ /*=============================================================*/ -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
