summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-28 03:31:17 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 00:31:42 +0100
commitc05aa8fbcc21b1863085dde5cb3c97b32c52ce40 (patch)
tree1488a18dc5ad8e7e911dbd61e853fba5b4e4a66d
parentdrivers/char: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required (diff)
downloadlinux-c05aa8fbcc21b1863085dde5cb3c97b32c52ce40.tar.xz
linux-c05aa8fbcc21b1863085dde5cb3c97b32c52ce40.zip
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 <paul.gortmaker@windriver.com>
-rw-r--r--drivers/char/ramoops.c1
1 files changed, 1 insertions, 0 deletions
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 <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>