Skip to content

Commit

Permalink
it8213: fix return value in it8213_init_one()
Browse files Browse the repository at this point in the history
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jul 8, 2008
1 parent ffab6cf commit be30504
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/ide/pci/it8213.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ static const struct ide_port_info it8213_chipsets[] __devinitdata = {

static int __devinit it8213_init_one(struct pci_dev *dev, const struct pci_device_id *id)
{
ide_setup_pci_device(dev, &it8213_chipsets[id->driver_data]);
return 0;
return ide_setup_pci_device(dev, &it8213_chipsets[id->driver_data]);
}

static const struct pci_device_id it8213_pci_tbl[] = {
Expand Down

0 comments on commit be30504

Please sign in to comment.