pata_mpc52xx: driver needs BMDMA
authorWolfram Sang <w.sang@pengutronix.de>
Wed, 22 Dec 2010 15:50:10 +0000 (16:50 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 24 Dec 2010 18:33:37 +0000 (13:33 -0500)
commit869934adfc8391ec2e198ed81260e1a42cd9c575
treec1bcdb5431aa08048e14376838bbe9ec75481176
parent9272dcc232b84ccb027d6861077934055d42764d
pata_mpc52xx: driver needs BMDMA

Found by this build-error if BMDMA is disabled:

drivers/ata/pata_mpc52xx.c: In function 'mpc52xx_ata_init_one':
drivers/ata/pata_mpc52xx.c:662: error: 'ata_bmdma_interrupt' undeclared (first use in this function)
...

Move the Kconfig entry to the proper location as needed since
9a7780c9acb821fe1c2b6fc53f74cc2556ff5364 (libata-sff: make BMDMA optional)

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/Kconfig
drivers/ata/Makefile