]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
serverworks: add missing pci_dev_put() call
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 18 Jan 2010 07:19:30 +0000 (07:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jan 2010 09:25:02 +0000 (01:25 -0800)
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/serverworks.c

index 1777c919237e0c68f30fde63a7814a21ac5b09dd..657f0433ec50459e5217d93dcd6655822ed5621b 100644 (file)
@@ -178,6 +178,7 @@ static int init_chipset_svwks(struct pci_dev *dev)
                                        "enabled.\n", pci_name(dev));
                        reg |=  0x00004000; /* enable UDMA/33 support */
                        pci_write_config_dword(isa_dev, 0x64, reg);
+                       pci_dev_put(isa_dev);
                }
        }