]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: Add a function to find a device by class
authorSimon Glass <sjg@chromium.org>
Wed, 28 Jan 2015 05:13:27 +0000 (22:13 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 6 Feb 2015 05:16:42 +0000 (22:16 -0700)
commit250e039da8c7e485dabdc84f0457b2a901757e28
tree0ca867115a43018fa6bb64e43e0791219eb1239c
parentcfcf8ea2d7d35c25ef9c7d2a6b8063e7123818b7
pci: Add a function to find a device by class

There is an existing function prototype in the header file but it is not
implemented. Implement something similar.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pci.c
include/pci.h