diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-04-28 16:12:57 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-30 14:38:28 -0400 |
commit | edfcba15bdfa520d8c64b496c9260a9d9e0b6d18 (patch) | |
tree | 2c1c61463a4617ce5e2f0deeadb620661c5aeca5 /drivers/net/wireless/libertas_tf | |
parent | d989ff7cf8d14f1b523f63ba0bf2ec1a9b7c25bc (diff) |
libertas_tf: avoid warning about pr_fmt redefinition
Also includes a minor cleanup regarding quotation of a standard kernel
header file...
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas_tf')
-rw-r--r-- | drivers/net/wireless/libertas_tf/cmd.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/libertas_tf/deb_defs.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/libertas_tf/if_usb.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/libertas_tf/libertas_tf.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/libertas_tf/main.c | 5 |
5 files changed, 9 insertions, 6 deletions
diff --git a/drivers/net/wireless/libertas_tf/cmd.c b/drivers/net/wireless/libertas_tf/cmd.c index 22645e4028de..eb85019c1081 100644 --- a/drivers/net/wireless/libertas_tf/cmd.c +++ b/drivers/net/wireless/libertas_tf/cmd.c | |||
@@ -7,7 +7,8 @@ | |||
7 | * the Free Software Foundation; either version 2 of the License, or (at | 7 | * the Free Software Foundation; either version 2 of the License, or (at |
8 | * your option) any later version. | 8 | * your option) any later version. |
9 | */ | 9 | */ |
10 | #include "deb_defs.h" | 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
11 | |||
11 | #include "libertas_tf.h" | 12 | #include "libertas_tf.h" |
12 | 13 | ||
13 | static const struct channel_range channel_ranges[] = { | 14 | static const struct channel_range channel_ranges[] = { |
diff --git a/drivers/net/wireless/libertas_tf/deb_defs.h b/drivers/net/wireless/libertas_tf/deb_defs.h index 9a3e92bec5fd..ae753962d8b5 100644 --- a/drivers/net/wireless/libertas_tf/deb_defs.h +++ b/drivers/net/wireless/libertas_tf/deb_defs.h | |||
@@ -9,8 +9,6 @@ | |||
9 | #define DRV_NAME "libertas_tf" | 9 | #define DRV_NAME "libertas_tf" |
10 | #endif | 10 | #endif |
11 | 11 | ||
12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
13 | |||
14 | #include <linux/spinlock.h> | 12 | #include <linux/spinlock.h> |
15 | 13 | ||
16 | #ifdef CONFIG_LIBERTAS_THINFIRM_DEBUG | 14 | #ifdef CONFIG_LIBERTAS_THINFIRM_DEBUG |
diff --git a/drivers/net/wireless/libertas_tf/if_usb.c b/drivers/net/wireless/libertas_tf/if_usb.c index 919451a2ee4a..827b7dc306b0 100644 --- a/drivers/net/wireless/libertas_tf/if_usb.c +++ b/drivers/net/wireless/libertas_tf/if_usb.c | |||
@@ -9,7 +9,8 @@ | |||
9 | */ | 9 | */ |
10 | #define DRV_NAME "lbtf_usb" | 10 | #define DRV_NAME "lbtf_usb" |
11 | 11 | ||
12 | #include "deb_defs.h" | 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
13 | |||
13 | #include "libertas_tf.h" | 14 | #include "libertas_tf.h" |
14 | #include "if_usb.h" | 15 | #include "if_usb.h" |
15 | 16 | ||
diff --git a/drivers/net/wireless/libertas_tf/libertas_tf.h b/drivers/net/wireless/libertas_tf/libertas_tf.h index 4cc42dd5a005..fbbaaae7a1ae 100644 --- a/drivers/net/wireless/libertas_tf/libertas_tf.h +++ b/drivers/net/wireless/libertas_tf/libertas_tf.h | |||
@@ -13,6 +13,8 @@ | |||
13 | #include <linux/kthread.h> | 13 | #include <linux/kthread.h> |
14 | #include <net/mac80211.h> | 14 | #include <net/mac80211.h> |
15 | 15 | ||
16 | #include "deb_defs.h" | ||
17 | |||
16 | #ifndef DRV_NAME | 18 | #ifndef DRV_NAME |
17 | #define DRV_NAME "libertas_tf" | 19 | #define DRV_NAME "libertas_tf" |
18 | #endif | 20 | #endif |
diff --git a/drivers/net/wireless/libertas_tf/main.c b/drivers/net/wireless/libertas_tf/main.c index a6b30d778f5c..895b557d664e 100644 --- a/drivers/net/wireless/libertas_tf/main.c +++ b/drivers/net/wireless/libertas_tf/main.c | |||
@@ -7,9 +7,10 @@ | |||
7 | * the Free Software Foundation; either version 2 of the License, or (at | 7 | * the Free Software Foundation; either version 2 of the License, or (at |
8 | * your option) any later version. | 8 | * your option) any later version. |
9 | */ | 9 | */ |
10 | #include "deb_defs.h" | 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
11 | |||
12 | #include <linux/etherdevice.h> | ||
11 | #include "libertas_tf.h" | 13 | #include "libertas_tf.h" |
12 | #include "linux/etherdevice.h" | ||
13 | 14 | ||
14 | #define DRIVER_RELEASE_VERSION "004.p0" | 15 | #define DRIVER_RELEASE_VERSION "004.p0" |
15 | /* thinfirm version: 5.132.X.pX */ | 16 | /* thinfirm version: 5.132.X.pX */ |