[PATCH] Re: Linux 2.4.15-pre4 - merge with Alan

Russell King (rmk@arm.linux.org.uk)
Tue, 13 Nov 2001 15:37:15 +0000


The pesky linux/irq.h include found its way back into drivers/char/vt.c
again (maybe Alan didn't merge it).

linux/irq.h is not required by vt.c, and, since it includes asm/hw_irq.h
which architectures many not provide, generic code should not be including
this file in the first place.

Here's a patch to fix this bogosity up:

--- orig/drivers/char/vt.c Thu Nov 8 17:47:59 2001
+++ linux/drivers/char/vt.c Tue Nov 13 15:24:21 2001
@@ -24,7 +24,6 @@
#include <linux/major.h>
#include <linux/fs.h>
#include <linux/console.h>
-#include <linux/irq.h>

#include <asm/io.h>
#include <asm/uaccess.h>

--
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- 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/