diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2011-07-29 09:11:32 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-30 02:41:09 -0400 |
commit | 83c1b31794a9e3cb30edabef7e57fbdbe129c5ce (patch) | |
tree | a23269345efe190925eb4bc045f19fcb5fc42178 /drivers/char | |
parent | f85f19de90a9997583bb26e6f1f9297a4e152c18 (diff) |
ramoops: fix compile failure on parisc
Fixes this:
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'
If it actually builds on other platforms, it's probably getting
linux/err.h via some other #include.
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char')
-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 bd9b94b518f3..fca0c51bbc90 100644 --- a/drivers/char/ramoops.c +++ b/drivers/char/ramoops.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 22 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
23 | 23 | ||
24 | #include <linux/kernel.h> | 24 | #include <linux/kernel.h> |
25 | #include <linux/err.h> | ||
25 | #include <linux/module.h> | 26 | #include <linux/module.h> |
26 | #include <linux/kmsg_dump.h> | 27 | #include <linux/kmsg_dump.h> |
27 | #include <linux/time.h> | 28 | #include <linux/time.h> |