aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-27 21:31:17 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:31:42 -0400
commitc05aa8fbcc21b1863085dde5cb3c97b32c52ce40 (patch)
tree1488a18dc5ad8e7e911dbd61e853fba5b4e4a66d
parent66300e66c680f7bcc43127627740f493ef0b05bc (diff)
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 @@
26#include <linux/module.h> 26#include <linux/module.h>
27#include <linux/kmsg_dump.h> 27#include <linux/kmsg_dump.h>
28#include <linux/time.h> 28#include <linux/time.h>
29#include <linux/err.h>
29#include <linux/io.h> 30#include <linux/io.h>
30#include <linux/ioport.h> 31#include <linux/ioport.h>
31#include <linux/platform_device.h> 32#include <linux/platform_device.h>