Skip to content

Commit

Permalink
Staging: wlan-ng: Cleanup wlan_compat.h more
Browse files Browse the repository at this point in the history
Move version identifier into p80211netdev.h and rename it to 0.3.0-staging
to differentiate from the out-of-tree version.

Also remove the unused wlan_ethconv declaration.

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 3bd937a commit 1f61379
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/wlan-ng/p80211netdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
/*================================================================*/
/* Constants */

#define WLAN_RELEASE "0.3.0-staging"

#define WLAN_DEVICE_CLOSED 0
#define WLAN_DEVICE_OPEN 1

Expand Down
7 changes: 0 additions & 7 deletions drivers/staging/wlan-ng/wlan_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@
#define WLAN_DBVAR wlan_debug
#endif

#define WLAN_RELEASE "0.3.0-lkml"

#include <linux/hardirq.h>

#define WLAN_LOG_ERROR(x,args...) printk(KERN_ERR "%s: " x , __func__ , ##args);
Expand Down Expand Up @@ -179,10 +177,5 @@ typedef struct net_device netdevice_t;
extern int wlan_debug;
#endif

extern int wlan_ethconv; /* What's the default ethconv? */

/*=============================================================*/
/*--- Functions -----------------------------------------------*/
/*=============================================================*/
#endif /* _WLAN_COMPAT_H */

0 comments on commit 1f61379

Please sign in to comment.