Skip to content

Commit

Permalink
Staging: wlan-ng: Move netdevice_t typedef into p80211netdev.h
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Moritz Muehlenhoff authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent ea045ba commit 96c5abd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions drivers/staging/wlan-ng/p80211netdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions drivers/staging/wlan-ng/wlan_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@
#ifndef _WLAN_COMPAT_H
#define _WLAN_COMPAT_H

#undef netdevice_t
typedef struct net_device netdevice_t;

/*=============================================================*/
/*------ OS Portability Macros --------------------------------*/
/*=============================================================*/
Expand Down

0 comments on commit 96c5abd

Please sign in to comment.