Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: phison: depends on ATA_BMDMA

phison uses interfaces and data that are built only when
ATA_BMDMA is enabled, so it should depend on that symbol.

drivers/staging/phison/phison.c:43: error: implicit declaration of function 'ATA_BMDMA_SHT'
drivers/staging/phison/phison.c:43: error: initializer element is not constant
drivers/staging/phison/phison.c:43: error: (near initialization for 'phison_sht.module')
drivers/staging/phison/phison.c:47: error: 'ata_bmdma_port_ops' undeclared here (not in a function)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: evan_ko@phison.com
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Randy Dunlap and committed by
Greg Kroah-Hartman
c28040e5 b6ee30a2

+1 -1
+1 -1
drivers/staging/phison/Kconfig
··· 1 1 config IDE_PHISON 2 2 tristate "PCIE ATA PS5000 IDE support" 3 - depends on PCI && ATA && ATA_SFF 3 + depends on PCI && ATA && ATA_SFF && ATA_BMDMA 4 4 ---help--- 5 5 This is an experimental driver for PS5000 IDE driver.