Q40 floppy interrupt code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Recently (after 2.6.22), `-Werror-implicit-function-declaration' has been added
to the kernel build flags:

| arch/m68k/q40/q40ints.c: In function 'q40_irq_handler':
| arch/m68k/q40/q40ints.c:214: error: implicit declaration of function 'floppy_hardint'

Adding the missing include:

--- a/arch/m68k/q40/q40ints.c
+++ b/arch/m68k/q40/q40ints.c
@@ -16,6 +16,7 @@
 #include <linux/errno.h>
 #include <linux/interrupt.h>
 
+#include <asm/floppy.h>
 #include <asm/ptrace.h>
 #include <asm/system.h>
 #include <asm/irq.h>

reveals a serious problem with the Q40 floppy interupt code:

| arch/m68k/q40/q40ints.c:215: error: too few arguments to function 'floppy_hardint'

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux