Skip to content

Commit cd18f69

Browse files
committed
sis5513: add missing pci_enable_device() call
Cc: Riccardo Gori <goric@trivenet.it> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
1 parent 34e6e88 commit cd18f69

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎drivers/ide/pci/sis5513.c‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,11 @@ static int __devinit sis5513_init_one(struct pci_dev *dev, const struct pci_devi
569569
{
570570
struct ide_port_info d = sis5513_chipset;
571571
u8 udma_rates[] = { 0x00, 0x00, 0x07, 0x1f, 0x3f, 0x3f, 0x7f, 0x7f };
572+
int rc;
573+
574+
rc = pci_enable_device(dev);
575+
if (rc)
576+
return rc;
572577

573578
if (sis_find_family(dev) == 0)
574579
return -ENOTSUPP;

0 commit comments

Comments
 (0)