summaryrefslogtreecommitdiff
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-10-05 02:58:32 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-10-05 02:58:32 -0400
commit67846b30171cc4d706125f630193a76a26bb334a (patch)
tree5ba70c2b68086f471686eb1e56e38436eaf73416 /include/linux/libata.h
parent643736a58d2668af94aee05670c5e9ae76e7b85f (diff)
downloadlwn-67846b30171cc4d706125f630193a76a26bb334a.tar.gz
lwn-67846b30171cc4d706125f630193a76a26bb334a.zip
libata: add ata_ratelimit(), use it in AHCI driver irq handler
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r--include/linux/libata.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 4d45179872cc..7929cfc9318d 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -410,6 +410,8 @@ extern int ata_scsi_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmn
extern int ata_scsi_error(struct Scsi_Host *host);
extern int ata_scsi_release(struct Scsi_Host *host);
extern unsigned int ata_host_intr(struct ata_port *ap, struct ata_queued_cmd *qc);
+extern int ata_ratelimit(void);
+
/*
* Default driver ops implementations
*/