Commit 96c5abd7 authored by Moritz Muehlenhoff's avatar Moritz Muehlenhoff Committed by Greg Kroah-Hartman

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

Signed-off-by: default avatarMoritz Muehlenhoff <jmm@debian.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ea045ba0
...@@ -55,10 +55,14 @@ ...@@ -55,10 +55,14 @@
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/wireless.h> #include <linux/wireless.h>
#include <linux/netdevice.h>
/*================================================================*/ /*================================================================*/
/* Constants */ /* Constants */
#undef netdevice_t
typedef struct net_device netdevice_t;
#define WLAN_RELEASE "0.3.0-staging" #define WLAN_RELEASE "0.3.0-staging"
#define WLAN_DEVICE_CLOSED 0 #define WLAN_DEVICE_CLOSED 0
......
...@@ -48,9 +48,6 @@ ...@@ -48,9 +48,6 @@
#ifndef _WLAN_COMPAT_H #ifndef _WLAN_COMPAT_H
#define _WLAN_COMPAT_H #define _WLAN_COMPAT_H
#undef netdevice_t
typedef struct net_device netdevice_t;
/*=============================================================*/ /*=============================================================*/
/*------ OS Portability Macros --------------------------------*/ /*------ OS Portability Macros --------------------------------*/
/*=============================================================*/ /*=============================================================*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment