[libata] fix build error on drivers/ata/pata_legacy.c
authorZhenwen Xu <helight.xu@gmail.com>
Fri, 17 Apr 2009 07:32:59 +0000 (15:32 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 17 Apr 2009 23:05:33 +0000 (19:05 -0400)
commit16e6aeca9e86fb0effb847c1687c9b2cc8e3fb4c
tree944ff553194a88f6d260e221bff7fad0012da0d0
parentb4746ed785d776b1be647458bc911cc607c6ef1c
[libata] fix build error on drivers/ata/pata_legacy.c

fix those errors:

drivers/ata/pata_legacy.c: In function ‘pdc_data_xfer_vlb’:
drivers/ata/pata_legacy.c:289: error: ‘ap’ undeclared (first use in this function)
drivers/ata/pata_legacy.c:289: error: (Each undeclared identifier is reported only once
drivers/ata/pata_legacy.c:289: error: for each function it appears in.)
drivers/ata/pata_legacy.c: At top level:
drivers/ata/pata_legacy.c:869: error: ‘ATA_PFLAG_PIO32_CHANGE’ undeclared here (not in a
+function)
make[2]: *** [drivers/ata/pata_legacy.o] Error 1
make[1]: *** [drivers/ata] Error 2

Signed-off-by: Zhenwen Xu <helight.xu@gmail.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_legacy.c