diff options
author | Simon Glass | 2023-09-26 08:14:57 -0600 |
---|---|---|
committer | Tom Rini | 2023-10-06 14:38:13 -0400 |
commit | 61fc132051740e0378a5e71f3db6cb1581e970fe (patch) | |
tree | b35fc3d4f145137d7ff88d7d2856c65c30f3c553 /include/serial.h | |
parent | 7f5ff034c32acd4481f4d6ce8118542f71c91b75 (diff) |
dm: core: Tweak device_is_on_pci_bus() for code size
This function cannot return true if PCI is not enabled, since no PCI
devices will have been bound. Add a check for this to reduce code size
where it is used.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/serial.h')
0 files changed, 0 insertions, 0 deletions