Skip to content

Commit

Permalink
[PATCH] libertas: let DRV_NAME be overridable
Browse files Browse the repository at this point in the history
For now, it's "libertas" by default, but that is overwritten in
if_usb.c/if_bootcmd.c and in if_cs.c.

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Holger Schurig authored and John W. Linville committed Jun 11, 2007
1 parent 435a1ac commit ec3eef2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/net/wireless/libertas/defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
#define PROC_DEBUG
#endif

#define DRV_NAME "usb8xxx"
#ifndef DRV_NAME
#define DRV_NAME "libertas"
#endif


#define LBS_DEB_ENTER 0x00000001
Expand Down
2 changes: 2 additions & 0 deletions drivers/net/wireless/libertas/if_bootcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#include <linux/netdevice.h>
#include <linux/usb.h>

#define DRV_NAME "usb8xxx"

#include "defs.h"
#include "dev.h"
#include "if_usb.h"
Expand Down
2 changes: 2 additions & 0 deletions drivers/net/wireless/libertas/if_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#include <linux/list.h>
#include <linux/usb.h>

#define DRV_NAME "usb8xxx"

#include "host.h"
#include "decl.h"
#include "defs.h"
Expand Down

0 comments on commit ec3eef2

Please sign in to comment.