From: Paul Gortmaker Date: Thu, 28 Jul 2011 01:31:17 +0000 (-0400) Subject: drivers/char: Fix implicit use of err.h in ramoops.c X-Git-Tag: firefly_0821_release~3680^2~4166^2~92 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c05aa8fbcc21b1863085dde5cb3c97b32c52ce40;p=firefly-linux-kernel-4.4.55.git drivers/char: Fix implicit use of err.h in ramoops.c 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' make[3]: *** [drivers/char/ramoops.o] Error 1 Signed-off-by: Paul Gortmaker --- diff --git a/drivers/char/ramoops.c b/drivers/char/ramoops.c index 810aff9e750f..7c7f42a1f880 100644 --- a/drivers/char/ramoops.c +++ b/drivers/char/ramoops.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include