diff options
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 17a946b5f552..39b76aaaa129 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -265,11 +265,7 @@ static inline void ide_std_init_ports(hw_regs_t *hw, | |||
265 | # define ide_init_default_irq(base) (0) | 265 | # define ide_init_default_irq(base) (0) |
266 | #endif | 266 | #endif |
267 | 267 | ||
268 | /* | 268 | #ifdef CONFIG_IDE_ARCH_OBSOLETE_INIT |
269 | * ide_init_hwif_ports() is OBSOLETE and will be removed in 2.7 series. | ||
270 | * New ports shouldn't define IDE_ARCH_OBSOLETE_INIT in <asm/ide.h>. | ||
271 | */ | ||
272 | #ifdef IDE_ARCH_OBSOLETE_INIT | ||
273 | static inline void ide_init_hwif_ports(hw_regs_t *hw, | 269 | static inline void ide_init_hwif_ports(hw_regs_t *hw, |
274 | unsigned long io_addr, | 270 | unsigned long io_addr, |
275 | unsigned long ctl_addr, | 271 | unsigned long ctl_addr, |
@@ -299,7 +295,7 @@ static inline void ide_init_hwif_ports(hw_regs_t *hw, | |||
299 | if (io_addr || ctl_addr) | 295 | if (io_addr || ctl_addr) |
300 | printk(KERN_WARNING "%s: must not be called\n", __FUNCTION__); | 296 | printk(KERN_WARNING "%s: must not be called\n", __FUNCTION__); |
301 | } | 297 | } |
302 | #endif /* IDE_ARCH_OBSOLETE_INIT */ | 298 | #endif /* CONFIG_IDE_ARCH_OBSOLETE_INIT */ |
303 | 299 | ||
304 | /* Currently only m68k, apus and m8xx need it */ | 300 | /* Currently only m68k, apus and m8xx need it */ |
305 | #ifndef IDE_ARCH_ACK_INTR | 301 | #ifndef IDE_ARCH_ACK_INTR |