Commit ec3eef28 authored by Holger Schurig's avatar Holger Schurig Committed by John W. Linville

[PATCH] libertas: let DRV_NAME be overridable

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: default avatarHolger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 435a1acb
...@@ -12,7 +12,9 @@ ...@@ -12,7 +12,9 @@
#define PROC_DEBUG #define PROC_DEBUG
#endif #endif
#define DRV_NAME "usb8xxx" #ifndef DRV_NAME
#define DRV_NAME "libertas"
#endif
#define LBS_DEB_ENTER 0x00000001 #define LBS_DEB_ENTER 0x00000001
......
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/usb.h> #include <linux/usb.h>
#define DRV_NAME "usb8xxx"
#include "defs.h" #include "defs.h"
#include "dev.h" #include "dev.h"
#include "if_usb.h" #include "if_usb.h"
......
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/usb.h> #include <linux/usb.h>
#define DRV_NAME "usb8xxx"
#include "host.h" #include "host.h"
#include "decl.h" #include "decl.h"
#include "defs.h" #include "defs.h"
......
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