Re: Replacement for pci_for_each_dev()?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 23, 2004 at 10:04:23AM -0500, Timur Tabi wrote:
> Greg KH wrote:
> 
> >>pci_for_each_dev()              Superseded by pci_find_device()
> >
> >No!  Use pci_get_device(), pci_find_device() is about to be deleted.
> 
> Looking at pci.txt, it appears that if I use pci_get_device(), I will 
> also need to use pci_dev_put().

That is correct.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux