Fix ath5k/debug.c redefinition warning for pr_fmt macro Signed-off-by: Ozan Çağlayan <ozancag@xxxxxxxxx> --- patches/network/53-pr_fmt.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/patches/network/53-pr_fmt.patch b/patches/network/53-pr_fmt.patch index 4c29be6..f1af016 100644 --- a/patches/network/53-pr_fmt.patch +++ b/patches/network/53-pr_fmt.patch @@ -819,3 +819,16 @@ compiler warnings. This is going to be sent upstream. #include <linux/slab.h> #include "ath5k.h" +--- a/drivers/net/wireless/ath/ath5k/debug.c ++++ b/drivers/net/wireless/ath/ath5k/debug.c +@@ -58,8 +58,10 @@ + * THE POSSIBILITY OF SUCH DAMAGES. + */ + ++#undef pr_fmt + #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + ++#include <linux/printk.h> + #include <linux/export.h> + #include <linux/moduleparam.h> + -- 1.7.11.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html