aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2010-01-18 07:19:30 +0000
committerDavid S. Miller <davem@davemloft.net>2010-01-19 01:25:02 -0800
commitcb06fc3f4c25d33c188d77e3f7e46112e7d71f38 (patch)
tree2c26ff399ce16d9db50689cc4af3a1ee8f7f3b58
parente7593af6e5c24e323217c12d011ad7e43742ca6f (diff)
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 1777c919237..657f0433ec5 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);
}
}