Skip to content

Commit

Permalink
sis5513: add missing pci_enable_device() call
Browse files Browse the repository at this point in the history
Cc: Riccardo Gori <goric@trivenet.it>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jun 10, 2008
1 parent 34e6e88 commit cd18f69
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/ide/pci/sis5513.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,11 @@ static int __devinit sis5513_init_one(struct pci_dev *dev, const struct pci_devi
{
struct ide_port_info d = sis5513_chipset;
u8 udma_rates[] = { 0x00, 0x00, 0x07, 0x1f, 0x3f, 0x3f, 0x7f, 0x7f };
int rc;

rc = pci_enable_device(dev);
if (rc)
return rc;

if (sis_find_family(dev) == 0)
return -ENOTSUPP;
Expand Down

0 comments on commit cd18f69

Please sign in to comment.