diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-28 05:31:17 +0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-11-01 03:31:42 +0400 |
commit | c05aa8fbcc21b1863085dde5cb3c97b32c52ce40 (patch) | |
tree | 1488a18dc5ad8e7e911dbd61e853fba5b4e4a66d | |
parent | 66300e66c680f7bcc43127627740f493ef0b05bc (diff) | |
download | linux-c05aa8fbcc21b1863085dde5cb3c97b32c52ce40.tar.xz |
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.c | 1 |
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> |