commit | 1e0f226362ffd2bd8c1a238af1d1b21ea86d3111 | [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 | fa43ce842c3026c2abf19d4234d02cd4c62eeec0 [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>