|
@@ -67,7 +67,8 @@ extern struct ata_queued_cmd *ata_qc_new_init(struct ata_device *dev, int tag);
|
|
|
extern int ata_build_rw_tf(struct ata_taskfile *tf, struct ata_device *dev,
|
|
|
u64 block, u32 n_block, unsigned int tf_flags,
|
|
|
unsigned int tag);
|
|
|
-extern u64 ata_tf_read_block(struct ata_taskfile *tf, struct ata_device *dev);
|
|
|
+extern u64 ata_tf_read_block(const struct ata_taskfile *tf,
|
|
|
+ struct ata_device *dev);
|
|
|
extern unsigned ata_exec_internal(struct ata_device *dev,
|
|
|
struct ata_taskfile *tf, const u8 *cdb,
|
|
|
int dma_dir, void *buf, unsigned int buflen,
|