From: Harvey Harrison Date: Fri, 25 Apr 2008 01:37:34 +0000 (-0700) Subject: libata: functions with definition should not be extern X-Git-Tag: v2.6.26-rc1~1060^2~19 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2b4221bb545899b05872e7b51f55567c10b3894b;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index b0b00af90d0..fe5c88ba977 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, * RETURNS: * 0 if @linke is ready before @deadline; otherwise, -errno. */ -extern int ata_wait_after_reset(struct ata_link *link, unsigned long deadline, +int ata_wait_after_reset(struct ata_link *link, unsigned long deadline, int (*check_ready)(struct ata_link *link)) { msleep(ATA_WAIT_AFTER_RESET_MSECS);