diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-19 18:32:32 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-19 18:32:32 -0400 |
commit | 847ddd2bbe15c6e452606503b5d073826aaaddb7 (patch) | |
tree | 2a395984d5c82d718dc6d99b1132340be453482b /include/linux/ide.h | |
parent | f9b93097375761930c52b3a20acd374a8d012fbc (diff) |
ide: add CONFIG_IDE_ARCH_OBSOLETE_INIT
Add CONFIG_IDE_ARCH_OBSOLETE_INIT to drivers/ide/Kconfig and use it instead
of defining IDE_ARCH_OBSOLETE_INIT in <arch/ide.h>.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
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 |