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>
This commit is contained in:
parent
72f79f9e35
commit
b741e8d4cf
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user