aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-17 18:46:35 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-17 18:46:35 -0400
commit273b8385e5817a4765f82257004c5ec661a6a5b2 (patch)
tree76ae63e30433fe2676c145421a1963a71f834ef0 /include/asm-alpha/ide.h
parent486c92e2900d618c650a7099536310651aa6cf1b (diff)
ide: remove ide_init_default_irq() macro
* Use ide_default_irq() instead of ide_init_default_irq() in ide_generic host driver (so the correct IRQ is always set regardless of CONFIG_PCI / CONFIG_BLK_DEV_IDEPCI). * Remove no longer needed ide_init_default_irq() macro. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/asm-alpha/ide.h')
-rw-r--r--include/asm-alpha/ide.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/asm-alpha/ide.h b/include/asm-alpha/ide.h
index e67c38c96a6b..f44129abc02c 100644
--- a/include/asm-alpha/ide.h
+++ b/include/asm-alpha/ide.h
@@ -37,12 +37,6 @@ static inline unsigned long ide_default_io_base(int index)
37 } 37 }
38} 38}
39 39
40#ifdef CONFIG_PCI
41#define ide_init_default_irq(base) (0)
42#else
43#define ide_init_default_irq(base) ide_default_irq(base)
44#endif
45
46#include <asm-generic/ide_iops.h> 40#include <asm-generic/ide_iops.h>
47 41
48#endif /* __KERNEL__ */ 42#endif /* __KERNEL__ */