mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arch/ppc/syslib/open_pic2.c ENODEV undeclared
@ 2004-09-16 17:41 Olaf Hering
  0 siblings, 0 replies; only message in thread
From: Olaf Hering @ 2004-09-16 17:41 UTC (permalink / raw)
  To: Andrew Morton, linux-kernel


2.6.9-rc2-bk2 gives this with my ppc g5 config

arch/ppc/syslib/open_pic2.c: In function `init_openpic2_sysfs':
arch/ppc/syslib/open_pic2.c:694: error: `ENODEV' undeclared (first use in this function)
arch/ppc/syslib/open_pic2.c:694: error: (Each undeclared identifier is reported only once
arch/ppc/syslib/open_pic2.c:694: error: for each function it appears in.)

possible fix below.

Signed-off-by: Olaf Hering <olh@suse.de>

--- ./arch/ppc/syslib/open_pic2.c.orig	2004-09-16 19:25:37.892805000 +0200
+++ ./arch/ppc/syslib/open_pic2.c	2004-09-16 19:35:25.024163478 +0200
@@ -20,6 +20,7 @@
 #include <linux/irq.h>
 #include <linux/interrupt.h>
 #include <linux/sysdev.h>
+#include <linux/errno.h>
 #include <asm/ptrace.h>
 #include <asm/signal.h>
 #include <asm/io.h>

-- 
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-16 17:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-16 17:41 [PATCH] arch/ppc/syslib/open_pic2.c ENODEV undeclared Olaf Hering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome