commit | 219d2d148241a243feb6a8ebad1548aa9688fc72 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Sep 26 08:14:57 2023 -0600 |
committer | Tom Rini <trini@konsulko.com> | Fri Oct 06 14:38:13 2023 -0400 |
tree | b35fc3d4f145137d7ff88d7d2856c65c30f3c553 | |
parent | dbf9a08c5986f2b35441e3713addc29d9f83080f [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>