Resend: drivers/ide/pci/cs5520.c fix return code value
PATCH 3/6 Resend: drivers/ide/pci/cs5520.c fix return code value
From: Amit Gud <[email protected]>
The patch follows from the suggestions by AC and Felipe W Damasio for fixing the return codes from IDE drivers.
Do consider applying.
Signed-off-by Amit Gud <[email protected]>
Signed-off-by Domen Puncer <[email protected]>
--- cs5520.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/ide/pci/cs5520.c +1 -1
@@ -225,7 +225,7 @@ static int __devinit cs5520_init_one(strif (pci_enable_device_bars (dev,1 <<2 )) {printk (KERN_WARNING "%s: Unable to enable 55x0.\n" , d->name); -return 1 ; +return -ENODEV ; }pci_set_master (dev);if (pci_set_dma_mask (dev,DMA_32BIT_MASK )) {
--