From: Johannes Berg Date: Tue, 25 Jun 2013 10:46:44 +0000 (+0200) Subject: backport: include printk.h into backport-3.11.c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4d10c25d67504c10289d78e000ff46308f5c8064;p=openwrt%2Fstaging%2Fblogic.git backport: include printk.h into backport-3.11.c 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 Signed-off-by: Luis R. Rodriguez --- diff --git a/backport/compat/backport-3.11.c b/backport/compat/backport-3.11.c index dc9073e1a744..332db4ab3f81 100644 --- a/backport/compat/backport-3.11.c +++ b/backport/compat/backport-3.11.c @@ -15,6 +15,7 @@ #include #include #include +#include /* arch_phys_wc_add returns an MTRR register index plus this offset. */ #define MTRR_TO_PHYS_WC_OFFSET 1000