diff options
author | Rob Herring <[email protected]> | 2023-08-24 17:17:34 -0500 |
---|---|---|
committer | Rob Herring <[email protected]> | 2023-08-28 10:45:16 -0500 |
commit | 5a7319b967b66969e3fff7b91bdfbcd9acd969ac (patch) | |
tree | e778ecbc8b91ec45b14e52b5b3fa700f8e606b82 /lib/memory-notifier-error-inject.c | |
parent | 911325d2324e320456351ea5d165f31aa3b222d1 (diff) |
of: unittest: Fix of_unittest_pci_node() kconfig dependencies
of_unittest_pci_node test depends on both CONFIG_PCI_DYNAMIC_OF_NODES
and CONFIG_OF_OVERLAY. Move the test into the existing
CONFIG_OF_OVERLAY ifdef and rework the CONFIG_PCI_DYNAMIC_OF_NODES
dependency to use IS_ENABLED() instead. This reduces the combinations to
build.
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: 26409dd04589 ("of: unittest: Add pci_dt_testdrv pci driver")
Cc: Lizhi Hou <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Tested-by: Randy Dunlap <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions