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

From: Sergei Shtylyov
Date: Mon Sep 12 2011 - 06:00:38 EST


Hello.

On 11-09-2011 15:59, 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.>, to prevent the following compile error

<linux/irq.h>? You've also typoed in the subject.

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

WBR, Sergei
--
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/