aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/120-pr_fmt_warnings.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-02-27 11:22:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-02-27 11:22:26 +0000
commit39570be2489a6901b8476165fc36a7268b12fe21 (patch)
treed26fd19901b2d5f77313136c6dfd63ee19ed86f5 /package/mac80211/patches/120-pr_fmt_warnings.patch
parentfb28515e2639e6e420ac407e50d97d5a99899856 (diff)
downloadupstream-39570be2489a6901b8476165fc36a7268b12fe21.tar.gz
upstream-39570be2489a6901b8476165fc36a7268b12fe21.tar.bz2
upstream-39570be2489a6901b8476165fc36a7268b12fe21.zip
mac80211: update to 2011-02-25
SVN-Revision: 25749
Diffstat (limited to 'package/mac80211/patches/120-pr_fmt_warnings.patch')
-rw-r--r--package/mac80211/patches/120-pr_fmt_warnings.patch14
1 files changed, 12 insertions, 2 deletions
diff --git a/package/mac80211/patches/120-pr_fmt_warnings.patch b/package/mac80211/patches/120-pr_fmt_warnings.patch
index e080af7099..595c6b7de1 100644
--- a/package/mac80211/patches/120-pr_fmt_warnings.patch
+++ b/package/mac80211/patches/120-pr_fmt_warnings.patch
@@ -8,8 +8,8 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
---- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
-+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
+--- a/drivers/net/wireless/iwlegacy/iwl3945-base.c
++++ b/drivers/net/wireless/iwlegacy/iwl3945-base.c
@@ -27,6 +27,7 @@
*
*****************************************************************************/
@@ -88,3 +88,13 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
+--- a/drivers/net/wireless/iwlegacy/iwl4965-base.c
++++ b/drivers/net/wireless/iwlegacy/iwl4965-base.c
+@@ -27,6 +27,7 @@
+ *
+ *****************************************************************************/
+
++#undef pr_fmt
+ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
+ #include <linux/kernel.h>