summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorArjun Sreedharan <arjun024@gmail.com>2014-08-16 18:38:34 +0530
committerTejun Heo <tj@kernel.org>2014-08-17 07:24:48 -0400
commitb741e8d4cf812da665c763e1b1c4a8fd20121565 (patch)
tree121546401281bf08f79763bd75d7baf306346652 /drivers/ata
parent72f79f9e35bd3f78ee8853f2fcacaa197d23ebac (diff)
downloadlinux-b741e8d4cf812da665c763e1b1c4a8fd20121565.tar.bz2
pata_samsung_cf: change ret type to signed
Change return type to signed int since it could be a negative errno. Signed-off-by: Arjun Sreedharan <arjun024@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/pata_samsung_cf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_samsung_cf.c b/drivers/ata/pata_samsung_cf.c
index 2578fc16960a..1a24a5dc3940 100644
--- a/drivers/ata/pata_samsung_cf.c
+++ b/drivers/ata/pata_samsung_cf.c
@@ -360,7 +360,7 @@ static int pata_s3c_wait_after_reset(struct ata_link *link,
/*
* pata_s3c_bus_softreset - PATA device software reset
*/
-static unsigned int pata_s3c_bus_softreset(struct ata_port *ap,
+static int pata_s3c_bus_softreset(struct ata_port *ap,
unsigned long deadline)
{
struct ata_ioports *ioaddr = &ap->ioaddr;