lkml.org 
[lkml]   [2009]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 16 Feb 2009 08:46:16 -0800
FromRandy Dunlap <>
Subject[PATCH -next] staging/phison: fix kconfig for clean build
From: Randy Dunlap <randy.dunlap@oracle.com>

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>
---
drivers/staging/phison/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20090216.orig/drivers/staging/phison/Kconfig
+++ linux-next-20090216/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.

\
 
 \ /
  Last update: 2009-02-18 12:23    [from the cache]
©2003-2010