Re: [PATCH ] ide-{cd,floppy,tape}: Do not include <linux/irq.h>

From: Borislav Petkov
Date: Thu Oct 20 2011 - 08:37:32 EST


On Thu, Oct 20, 2011 at 02:11:15PM +0200, Geert Uytterhoeven wrote:
> The top of <linux/irq.h> has this comment:
>
> * Please do not include this file in generic code. There is currently
> * no requirement for any architecture to implement anything held
> * within this file.
> *
> * Thanks. --rmk
>
> Remove inclusion of <linux/irq.h>, to prevent the following compile error
> from happening soon:
>
> | include/linux/irq.h:132: error: redefinition of âstruct irq_dataâ
> | include/linux/irq.h:286: error: redefinition of âstruct irq_chipâ
>
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Acked-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: linux-ide@xxxxxxxxxxxxxxx

Acked-by: Borislav Petkov <bp@xxxxxxxxx>

Thanks.

--
Regards/Gruss,
Boris.
--
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/