[PATCH] backport: include printk.h into backport-3.11.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Johannes Berg <johannes.berg@xxxxxxxxx>

This is needed for pr_warn(), otherwise it's not defined on
all kernels (it is sometimes pulled in by other headers.)

Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
---
 backport/compat/backport-3.11.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/backport/compat/backport-3.11.c b/backport/compat/backport-3.11.c
index dc9073e..332db4a 100644
--- a/backport/compat/backport-3.11.c
+++ b/backport/compat/backport-3.11.c
@@ -15,6 +15,7 @@
 #include <asm/mtrr.h>
 #include <asm/cpufeature.h>
 #include <linux/io.h>
+#include <linux/printk.h>
 
 /* arch_phys_wc_add returns an MTRR register index plus this offset. */
 #define MTRR_TO_PHYS_WC_OFFSET 1000
-- 
1.8.0

--
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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux