[2.6 patch] echo3g_dsp.c shouldn't include #include <linux/irq.h>

From: Adrian Bunk
Date: Tue Jan 23 2007 - 10:18:08 EST


Despite being under linux/, linux/irq.h shouldn't be #include'd by arch
independent code.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.20-rc4-mm1/sound/pci/echoaudio/echo3g_dsp.c.old 2007-01-23 15:16:37.000000000 +0100
+++ linux-2.6.20-rc4-mm1/sound/pci/echoaudio/echo3g_dsp.c 2007-01-23 14:22:49.000000000 +0100
@@ -39,7 +39,7 @@
static int write_control_reg(struct echoaudio *chip, u32 ctl, u32 frq,
char force);

-#include <linux/irq.h>
+#include <linux/interrupt.h>

static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id)
{


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