Messages in this thread Patch in this message | | | Date | Mon, 17 Jun 2002 12:16:33 +0200 (CEST) | From | Adrian Bunk <> | Subject | [2.5 patch] drivers/char/rio/func.h needs linux/kdev_t.h |
| |
Hi,
while compiling 2.5.22 the compilation failed with the following error:
<-- snip -->
... gcc -Wp,-MD,./.rioinit.o.d -D__KERNEL__ -I/home/bunk/linux/kernel-2.5/linux-2.5.22-full/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -nostdinc -iwithprefix include -DKBUILD_BASENAME=rioinit -c -o rioinit.o rioinit.c In file included from rioinit.c:68: func.h:167: parse error before `device' func.h:167: warning: function declaration isn't a prototype func.h:168: parse error before `device' func.h:168: warning: function declaration isn't a prototype make[3]: *** [rioinit.o] Error 1 make[3]: Leaving directory `/home/bunk/linux/kernel-2.5/linux-2.5.22-full/drivers/char/rio'
<-- snip -->
It seems func.h needs to inlude linux/kdev_t.h:
--- drivers/char/rio/func.h.old Mon Jun 17 12:08:02 2002 +++ drivers/char/rio/func.h Mon Jun 17 12:10:09 2002 @@ -33,6 +33,8 @@ #ifndef __func_h_def #define __func_h_def
+#include <linux/kdev_t.h> + #ifdef SCCS_LABELS #ifndef lint static char *_func_h_sccs_ = "@(#)func.h 1.3";
cu Adrian
--
You only think this is a free country. Like the US the UK spends a lot of time explaining its a free country because its a police state. Alan Cox
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |