/* bfin_check_altstatus - Read device alternate status reg @ap: port where the device is  */
static u8 bfin_check_altstatus(struct ata_port *ap)
/* bfin_check_altstatus - Read device alternate status reg @ap: port where the device is  */
static u8 bfin_check_altstatus(struct ata_port *ap)
{
	void __iomem *base = (void __iomem *)ap->ioaddr.ctl_addr;
	return read_atapi_register(base, ATA_REG_ALTSTATUS);
}