From: Johannes Berg <[email protected]>

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 <[email protected]>
---
 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to