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>
Showing
- drivers/ide/Kconfig 3 additions, 0 deletionsdrivers/ide/Kconfig
- drivers/ide/ide-probe.c 4 additions, 0 deletionsdrivers/ide/ide-probe.c
- drivers/ide/ide.c 4 additions, 0 deletionsdrivers/ide/ide.c
- drivers/ide/pci/ns87415.c 4 additions, 0 deletionsdrivers/ide/pci/ns87415.c
- include/asm-alpha/ide.h 0 additions, 3 deletionsinclude/asm-alpha/ide.h
- include/asm-ia64/ide.h 0 additions, 2 deletionsinclude/asm-ia64/ide.h
- include/asm-m32r/ide.h 0 additions, 2 deletionsinclude/asm-m32r/ide.h
- include/asm-mips/mach-generic/ide.h 0 additions, 2 deletionsinclude/asm-mips/mach-generic/ide.h
- include/asm-powerpc/ide.h 0 additions, 2 deletionsinclude/asm-powerpc/ide.h
- include/asm-x86/ide.h 0 additions, 2 deletionsinclude/asm-x86/ide.h
- include/linux/ide.h 0 additions, 7 deletionsinclude/linux/ide.h
Loading
Please register or sign in to comment