mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 09:44:18 +08:00
serverworks: add missing pci_dev_put() call
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e7593af6e5
commit
cb06fc3f4c
@ -178,6 +178,7 @@ static int init_chipset_svwks(struct pci_dev *dev)
|
|||||||
"enabled.\n", pci_name(dev));
|
"enabled.\n", pci_name(dev));
|
||||||
reg |= 0x00004000; /* enable UDMA/33 support */
|
reg |= 0x00004000; /* enable UDMA/33 support */
|
||||||
pci_write_config_dword(isa_dev, 0x64, reg);
|
pci_write_config_dword(isa_dev, 0x64, reg);
|
||||||
|
pci_dev_put(isa_dev);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user