diff options
author | Arjun Sreedharan <arjun024@gmail.com> | 2014-08-16 18:38:34 +0530 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-08-17 07:24:48 -0400 |
commit | b741e8d4cf812da665c763e1b1c4a8fd20121565 (patch) | |
tree | 121546401281bf08f79763bd75d7baf306346652 /drivers | |
parent | 72f79f9e35bd3f78ee8853f2fcacaa197d23ebac (diff) |
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')
-rw-r--r-- | drivers/ata/pata_samsung_cf.c | 2 |
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; |