* ramoops: fix compile failure on parisc
@ 2011-07-29 13:11 James Bottomley
0 siblings, 0 replies; only message in thread
From: James Bottomley @ 2011-07-29 13:11 UTC (permalink / raw)
To: Linus Torvalds, Marco Stornelli; +Cc: linux-kernel, Parisc List
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>
---
diff --git a/drivers/char/ramoops.c b/drivers/char/ramoops.c
index bd9b94b..fca0c51 100644
--- a/drivers/char/ramoops.c
+++ b/drivers/char/ramoops.c
@@ -22,6 +22,7 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
+#include <linux/err.h>
#include <linux/module.h>
#include <linux/kmsg_dump.h>
#include <linux/time.h>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-07-29 13:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-29 13:11 ramoops: fix compile failure on parisc James Bottomley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox