ide: add CONFIG_IDE_ARCH_OBSOLETE_DEFAULTS (take 2)
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 17 Apr 2008 22:46:33 +0000 (00:46 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 17 Apr 2008 22:46:33 +0000 (00:46 +0200)
commit0e33555fffdc8490630d98070e76e5fe031bcac2
tree74ef5a7427db1deef3994a0342767bf0b4ffafe1
parent359c2e2d2039029a8167fb00499296b228928024
ide: add CONFIG_IDE_ARCH_OBSOLETE_DEFAULTS (take 2)

* Add CONFIG_IDE_ARCH_OBSOLETE_DEFAULTS to drivers/ide/Kconfig and use
  it instead of defining IDE_ARCH_OBSOLETE_DEFAULTS in <arch/ide.h>.

v2:
* Define ide_default_irq() in ide-probe.c/ns87415.c if not already defined
  and drop defining ide_default_irq() for CONFIG_IDE_ARCH_OBSOLETE_DEFAULTS=n.

  [ Thanks to Stephen Rothwell and David Miller for noticing the problem. ]

Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/Kconfig
drivers/ide/ide-probe.c
drivers/ide/ide.c
drivers/ide/pci/ns87415.c
include/asm-alpha/ide.h
include/asm-ia64/ide.h
include/asm-m32r/ide.h
include/asm-mips/mach-generic/ide.h
include/asm-powerpc/ide.h
include/asm-x86/ide.h
include/linux/ide.h