]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ide-{cd,floppy,tape}: Do not include <linux/irq.h>
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 25 May 2011 19:40:59 +0000 (21:40 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 30 Oct 2011 12:27:29 +0000 (13:27 +0100)
commit2a32b7004bfda08889b3366132ca0dbadb40ece3
tree3bc36c852486737dad35baaa4cd1558493b9912d
parenta1788e38e5fd126e27289fc60f1053c02e5b0c38
ide-{cd,floppy,tape}: Do not include <linux/irq.h>

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@linux-m68k.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Borislav Petkov <bp@alien8.de>
Cc: linux-ide@vger.kernel.org
drivers/ide/ide-cd.c
drivers/ide/ide-floppy.c
drivers/ide/ide-tape.c