From: gregkh on

This is a note to let you know that I've just added the patch titled

Subject: Staging: phison: depends on ATA_BMDMA

to my gregkh-2.6 tree. Its filename is

staging-phison-depends-on-ata_bmdma.patch

This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/


From randy.dunlap(a)oracle.com Tue Jun 1 14:14:50 2010
From: Randy Dunlap <randy.dunlap(a)oracle.com>
Date: Wed, 26 May 2010 10:30:02 -0700
Subject: Staging: phison: depends on ATA_BMDMA
To: Stephen Rothwell <sfr(a)canb.auug.org.au>, gregkh(a)suse.de
Cc: linux-next(a)vger.kernel.org, LKML <linux-kernel(a)vger.kernel.org>, evan_ko(a)phison.com
Message-ID: <20100526103002.ac2c6703.randy.dunlap(a)oracle.com>


From: Randy Dunlap <randy.dunlap(a)oracle.com>

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(a)oracle.com>
Cc: evan_ko(a)phison.com
Signed-off-by: Greg Kroah-Hartman <gregkh(a)suse.de>

---
drivers/staging/phison/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- 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 PCI && ATA && ATA_SFF
+ depends on PCI && ATA && ATA_SFF && ATA_BMDMA
---help---
This is an experimental driver for PS5000 IDE driver.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/