Re: [-mm PATCH] remove use of pci_find_device in watchdog driver for Intel 6300ESB chipset

2005-08-15 Thread Jiri Slaby
David Härdeman napsal(a): On Mon, Aug 15, 2005 at 02:30:15PM -0700, Naveen Gupta wrote: [...} -while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) { -if (pci_match_id(esb_pci_tbl, dev)) { -esb_pci = dev; -

Re: [-mm PATCH] remove use of pci_find_device in watchdog driver for Intel 6300ESB chipset

2005-08-15 Thread David Härdeman
On Mon, Aug 15, 2005 at 02:30:15PM -0700, Naveen Gupta wrote: [...} -while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) { -if (pci_match_id(esb_pci_tbl, dev)) { -esb_pci = dev; -break; -} -

[-mm PATCH] remove use of pci_find_device in watchdog driver for Intel 6300ESB chipset

2005-08-15 Thread Naveen Gupta
This patch replaces obsolete 'pci_find_device' with 'pci_get_device' to prevent the device from being stolen under us in Watchdog timer driver for intel 6300ESB chipset. Signed-off-by: Naveen Gupta <[EMAIL PROTECTED]> Index: linux-2.6.12/drivers/char/watchdog/i6300esb.c =