From e46a4350b484cf7bc4ab861967bf303fc439c9e0 Mon Sep 17 00:00:00 2001 From: Pavel Herrmann Date: Thu, 27 Sep 2012 23:18:04 +0000 Subject: sata.h: Make all sata/ata drivers include - block_dev_desc_t says that block_(read|write) take lbaint_t for blkcnt not ulong. - We also move the extern of sata_dev_desc into - Remove now duplicate declarations from driver-specific headers. Signed-off-by: Tom Rini Signed-off-by: Pavel Herrmann --- drivers/block/ata_piix.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/block/ata_piix.h') diff --git a/drivers/block/ata_piix.h b/drivers/block/ata_piix.h index 85a8843a2d..6c68ea2f01 100644 --- a/drivers/block/ata_piix.h +++ b/drivers/block/ata_piix.h @@ -56,8 +56,6 @@ int sata_devchk(struct sata_ioports *ioaddr, int dev); void dev_select(struct sata_ioports *ioaddr, int dev); u8 sata_busy_wait(struct sata_ioports *ioaddr, int bits, unsigned int max); u8 sata_chk_status(struct sata_ioports *ioaddr); -ulong sata_read(int device, ulong blknr,lbaint_t blkcnt, void *buffer); -ulong sata_write(int device,ulong blknr, lbaint_t blkcnt, const void *buffer); #endif /************DRIVER SPECIFIC DEFINITIONS AND DECLARATIONS**************/ -- cgit v1.2.1