[PATCH 1/2] FRV: Missing error defs

From: David Howells
Date: Tue Feb 20 2007 - 09:19:59 EST


From: David Howells <dhowells@xxxxxxxxxx>

linux/irq.h uses EINVAL but does not #include linux/errno.h. This results in
the compiler spitting out errors on some files.

Signed-Off-By: David Howells <dhowells@xxxxxxxxxx>
---

include/linux/irq.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/irq.h b/include/linux/irq.h
index aa5b3e6..a0818be 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -18,6 +18,7 @@
#include <linux/spinlock.h>
#include <linux/cpumask.h>
#include <linux/irqreturn.h>
+#include <linux/errno.h>

#include <asm/irq.h>
#include <asm/ptrace.h>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/