Staging: phison: depends on ATA_BMDMA
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 26 May 2010 17:30:02 +0000 (10:30 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Jun 2010 20:38:57 +0000 (13:38 -0700)
commitc28040e515154462971ba97ec14a82c27fcfb683
tree44e68895ae690ae6a57e138500ad0d9e9c611f95
parentb6ee30a27f8204d20aebe6e743e38d4b85ee753d
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>
drivers/staging/phison/Kconfig