]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 10:59:06 +0000 (12:59 +0200)
commit59f32364aa9c114c7eded4b5b86ba86770cb16c2
tree4fe1e51268d91aa4e27e2b89c7489035dbe52a4b
parent78ca836212a6a3ee5bba75d750fb220e343d84e1
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