[PATCH] ide: fix the BLK_DEV_IDEDMA_PCI dependency for drivers/ide/ppc/pmac.c

drivers/ide/ppc/pmac.c uses symbols ide_build_sglist,
__ide_dma_off_quietly, __ide_dma_on and __ide_dma_timeout when
CONFIG_BLK_DEV_IDEDMA_PMAC is defined. The declarations for these
symbols (in ide.h) depend on CONFIG_BLK_DEV_IDEDMA_PCI. There is a
missing dependency for this in drivers/ide/Kconfig which causes
drivers/ide/ppc/pmac.c to fail to build if CONFIG_BLK_DEV_IDEDMA_PMAC
is selected but CONFIG_BLK_DEV_IDEDMA_PCI is not.

Signed-off-by: Juha-Matti Tapio <jmtapio@verkkotelakka.net>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>

authored by Juha-Matti Tapio and committed by Bartlomiej Zolnierkiewicz 0ac72b35 c40d3d38

+1
+1
drivers/ide/Kconfig
··· 764 764 config BLK_DEV_IDEDMA_PMAC 765 765 bool "PowerMac IDE DMA support" 766 766 depends on BLK_DEV_IDE_PMAC 767 + select BLK_DEV_IDEDMA_PCI 767 768 help 768 769 This option allows the driver for the built-in IDE controller on 769 770 Power Macintoshes and PowerBooks to use DMA (direct memory access)