ide: fix ->init_chipset method to return 'int' value
* Return 0 instead of dev->irq in ->init_chipset implementations.
* Fix ->init_chipset method to return 'int' value instead of
'unsigned int' one.
This fixes ->init_chipset handling for host drivers (cs5530, hpt366
and pdc202xx_new) for which it is possible for this method to fail.
Signed-off-by:
Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Showing
- drivers/ide/aec62xx.c 2 additions, 2 deletionsdrivers/ide/aec62xx.c
- drivers/ide/alim15x3.c 1 addition, 1 deletiondrivers/ide/alim15x3.c
- drivers/ide/amd74xx.c 2 additions, 2 deletionsdrivers/ide/amd74xx.c
- drivers/ide/cmd64x.c 1 addition, 1 deletiondrivers/ide/cmd64x.c
- drivers/ide/cs5530.c 1 addition, 1 deletiondrivers/ide/cs5530.c
- drivers/ide/delkin_cb.c 1 addition, 1 deletiondrivers/ide/delkin_cb.c
- drivers/ide/hpt366.c 2 additions, 2 deletionsdrivers/ide/hpt366.c
- drivers/ide/it821x.c 1 addition, 1 deletiondrivers/ide/it821x.c
- drivers/ide/pdc202xx_new.c 2 additions, 2 deletionsdrivers/ide/pdc202xx_new.c
- drivers/ide/pdc202xx_old.c 2 additions, 2 deletionsdrivers/ide/pdc202xx_old.c
- drivers/ide/piix.c 1 addition, 1 deletiondrivers/ide/piix.c
- drivers/ide/serverworks.c 2 additions, 2 deletionsdrivers/ide/serverworks.c
- drivers/ide/setup-pci.c 1 addition, 1 deletiondrivers/ide/setup-pci.c
- drivers/ide/siimage.c 1 addition, 1 deletiondrivers/ide/siimage.c
- drivers/ide/sis5513.c 1 addition, 1 deletiondrivers/ide/sis5513.c
- drivers/ide/sl82c105.c 2 additions, 2 deletionsdrivers/ide/sl82c105.c
- drivers/ide/via82cxxx.c 1 addition, 1 deletiondrivers/ide/via82cxxx.c
- include/linux/ide.h 2 additions, 2 deletionsinclude/linux/ide.h
Loading
Please register or sign in to comment