]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[WATCHDOG] iTCO_wdt.c - pci_dev_put fix
authorWim Van Sebroeck <wim@iguana.be>
Wed, 19 Jul 2006 20:39:13 +0000 (22:39 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 3 Oct 2006 19:34:56 +0000 (21:34 +0200)
commit4802c6533af3223f43b9e4a1bb8a2a1c51f398b1
tree374cdecc2395e01bbc1ae55bf99a70feb52c9e0c
parent3836cc0ff8c875e21a8119e7a4f0227f6e227650
[WATCHDOG] iTCO_wdt.c - pci_dev_put fix

for_each_pci_dev calls pci_get_device (and thus
it calls pci_dev_get). So we need to do a pci_dev_put
to keep the refcounting correct.
(Thanks to Jiri Slaby <jirislaby@gmail.com>)

Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/char/watchdog/iTCO_wdt.c