From: James Bottomley Date: Fri, 29 Jul 2011 13:11:32 +0000 (+0400) Subject: ramoops: fix compile failure on parisc X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=83c1b31794a9e3cb30edabef7e57fbdbe129c5ce;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git ramoops: fix compile failure on parisc Fixes this: drivers/char/ramoops.c: In function 'ramoops_init': drivers/char/ramoops.c:221: error: implicit declaration of function 'IS_ERR' drivers/char/ramoops.c:222: error: implicit declaration of function 'PTR_ERR' If it actually builds on other platforms, it's probably getting linux/err.h via some other #include. Signed-off-by: James Bottomley Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/ramoops.c b/drivers/char/ramoops.c index bd9b94b518f3..fca0c51bbc90 100644 --- a/drivers/char/ramoops.c +++ b/drivers/char/ramoops.c @@ -22,6 +22,7 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include +#include #include #include #include