summaryrefslogtreecommitdiffstats
path: root/drivers/staging/phison
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-02-16 08:46:16 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:53:40 -0700
commit1cc41726fddd423090d529f3eb845b55774b1ff4 (patch)
treee213ec8b8f140e00b03e5d87c8edd4c9dff52e30 /drivers/staging/phison
parent301df5dce43124e926341665182a14f13a24ff96 (diff)
downloadlinux-1cc41726fddd423090d529f3eb845b55774b1ff4.tar.gz
linux-1cc41726fddd423090d529f3eb845b55774b1ff4.tar.xz
linux-1cc41726fddd423090d529f3eb845b55774b1ff4.zip
Staging: phison: fix kconfig for clean build
phison is an ATA driver, not a classic IDE driver, so fix the Kconfig file so that it will build. 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) drivers/staging/phison/phison.c:65: error: implicit declaration of function 'ata_pci_sff_init_one' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/phison')
-rw-r--r--drivers/staging/phison/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/phison/Kconfig b/drivers/staging/phison/Kconfig
index 2b3920b84daf..1dd63ce0c68a 100644
--- a/drivers/staging/phison/Kconfig
+++ b/drivers/staging/phison/Kconfig
@@ -1,5 +1,5 @@
config IDE_PHISON
tristate "PCIE ATA PS5000 IDE support"
- depends on IDE
+ depends on ATA && ATA_SFF
---help---
This is an experimental driver for PS5000 IDE driver.