Skip to content

Commit c28040e

Browse files
rddunlapgregkh
authored andcommitted
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>
1 parent b6ee30a commit c28040e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/staging/phison/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
config IDE_PHISON
22
tristate "PCIE ATA PS5000 IDE support"
3-
depends on PCI && ATA && ATA_SFF
3+
depends on PCI && ATA && ATA_SFF && ATA_BMDMA
44
---help---
55
This is an experimental driver for PS5000 IDE driver.

0 commit comments

Comments
 (0)