diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-24 21:37:34 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-24 23:42:26 -0400 |
commit | 2b4221bb545899b05872e7b51f55567c10b3894b (patch) | |
tree | 4bf3f1df1d5dff4294e4bd15359545426457bad3 /drivers/ata | |
parent | b69d3987f4360a5e7e9e55465b3cdd0cc204b79e (diff) |
libata: functions with definition should not be extern
Noticed by sparse
drivers/ata/libata-core.c:3380:12: warning: function 'ata_wait_after_reset' with external linkage has definition
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/libata-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index b0b00af90d0e..fe5c88ba977e 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -3377,7 +3377,7 @@ int ata_wait_ready(struct ata_link *link, unsigned long deadline, | |||
3377 | * RETURNS: | 3377 | * RETURNS: |
3378 | * 0 if @linke is ready before @deadline; otherwise, -errno. | 3378 | * 0 if @linke is ready before @deadline; otherwise, -errno. |
3379 | */ | 3379 | */ |
3380 | extern int ata_wait_after_reset(struct ata_link *link, unsigned long deadline, | 3380 | int ata_wait_after_reset(struct ata_link *link, unsigned long deadline, |
3381 | int (*check_ready)(struct ata_link *link)) | 3381 | int (*check_ready)(struct ata_link *link)) |
3382 | { | 3382 | { |
3383 | msleep(ATA_WAIT_AFTER_RESET_MSECS); | 3383 | msleep(ATA_WAIT_AFTER_RESET_MSECS); |