Re: [PATCH 02/28] ide-{cd,floppy,tape}: Do not include

Sergei Shtylyov
2011-09-12T09:59:50Z

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@linux-m68k.org>
> Acked-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-ide@vger.kernel.org

WBR, Sergei