compat-wireless: add bluetooth to pr_fmt patch
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 29 May 2012 22:39:40 +0000 (00:39 +0200)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Tue, 29 May 2012 23:58:34 +0000 (16:58 -0700)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
patches/53-pr_fmt.patch

index 1e5ee79f5ae2f068e465f43668a2d680609c6e76..874e75647605080f02fe6d7a02abc8571878e784 100644 (file)
@@ -374,6 +374,20 @@ compiler warnings. This is going to be sent upstream.
  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
  
  #include <linux/types.h>
+--- a/net/bluetooth/lib.c
++++ b/net/bluetooth/lib.c
+@@ -24,9 +24,11 @@
+ /* Bluetooth kernel library. */
++#undef pr_fmt
+ #define pr_fmt(fmt) "Bluetooth: " fmt
+ #include <linux/export.h>
++#include <linux/printk.h>
+ #include <net/bluetooth/bluetooth.h>
 --- a/net/wireless/lib80211.c
 +++ b/net/wireless/lib80211.c
 @@ -13,8 +13,10 @@