summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/defs.h
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-05-25 18:49:10 +0200
committerJohn W. Linville <linville@tuxdriver.com>2007-06-11 20:28:40 +0200
commitec3eef28d9bc3fbcc5d3dd668dffcaa675015b11 (patch)
treee38058e72eebc678765f7760af3166b23007071b /drivers/net/wireless/libertas/defs.h
parent[PATCH] libertas: fix RESET logic at unload time (diff)
downloadlinux-ec3eef28d9bc3fbcc5d3dd668dffcaa675015b11.tar.xz
linux-ec3eef28d9bc3fbcc5d3dd668dffcaa675015b11.zip
[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: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/defs.h')
-rw-r--r--drivers/net/wireless/libertas/defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/defs.h b/drivers/net/wireless/libertas/defs.h
index c081813410fd..b189d3bce2e8 100644
--- a/drivers/net/wireless/libertas/defs.h
+++ b/drivers/net/wireless/libertas/defs.h
@@ -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