]> err.no Git - linux-2.6/commitdiff
[PATCH] libertas: let DRV_NAME be overridable
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Fri, 25 May 2007 16:49:10 +0000 (12:49 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Jun 2007 18:28:40 +0000 (14:28 -0400)
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>
drivers/net/wireless/libertas/defs.h
drivers/net/wireless/libertas/if_bootcmd.c
drivers/net/wireless/libertas/if_usb.c

index c081813410fd674700fc063a1088eccbac24e487..b189d3bce2e803d84c6afa19b2831cbb3f0c5ffc 100644 (file)
@@ -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
index 567000c3e87bbf9c72185049d5f1f49414da4045..c65e9f445c00fda8f7020ba47249fe8e2f52310c 100644 (file)
@@ -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"
index 97469fe106fb158b2cab3dea20ec37ecbd333ccd..d87915dbe827a243028ae2c02904540bcc5d16a1 100644 (file)
@@ -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"