commit | 05bedb1a890a27b2c8854065bf453c1ac69f96d9 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Fri Sep 11 03:24:34 2015 -0700 |
committer | Simon Glass <sjg@chromium.org> | Wed Sep 16 19:53:52 2015 -0600 |
tree | 105e275db286d90bcf54a593536bf3012823f9c6 | |
parent | f2e60cf6fde31b9d972506385bab6721f0f20828 [diff] |
dm: pci: Add an inline API to test if a device is on a PCI bus Introduce device_is_on_pci_bus() which can be utilized by driver to test if a device is on a PCI bus. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>