summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2010-01-18 08:19:30 +0100
committerDavid S. Miller <davem@davemloft.net>2010-01-19 10:25:02 +0100
commitcb06fc3f4c25d33c188d77e3f7e46112e7d71f38 (patch)
tree2c26ff399ce16d9db50689cc4af3a1ee8f7f3b58
parentserverworks: cleanup svwks_udma_filter() (diff)
downloadlinux-cb06fc3f4c25d33c188d77e3f7e46112e7d71f38.tar.xz
linux-cb06fc3f4c25d33c188d77e3f7e46112e7d71f38.zip
serverworks: add missing pci_dev_put() call
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/ide/serverworks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/serverworks.c b/drivers/ide/serverworks.c
index 1777c919237e..657f0433ec50 100644
--- a/drivers/ide/serverworks.c
+++ b/drivers/ide/serverworks.c
@@ -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);
}
}