drivers/char: Fix implicit use of err.h in ramoops.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 01:31:17 +0000 (21:31 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:42 +0000 (19:31 -0400)
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 <paul.gortmaker@windriver.com>
drivers/char/ramoops.c

index 810aff9e750fde8e28a16d6a81866c72a6dc5aa2..7c7f42a1f880cc81af6dafd89b73810c7eca34aa 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/module.h>
 #include <linux/kmsg_dump.h>
 #include <linux/time.h>
+#include <linux/err.h>
 #include <linux/io.h>
 #include <linux/ioport.h>
 #include <linux/platform_device.h>