Commit 5a7319b
committed
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 <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308241954.oRNfVqmB-lkp@intel.com/
Fixes: 26409dd ("of: unittest: Add pci_dt_testdrv pci driver")
Cc: Lizhi Hou <lizhi.hou@amd.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20230824221743.1581707-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>1 parent 911325d commit 5a7319b
1 file changed
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3799 | 3799 | | |
3800 | 3800 | | |
3801 | 3801 | | |
3802 | | - | |
3803 | | - | |
3804 | | - | |
3805 | | - | |
3806 | | - | |
3807 | | - | |
3808 | | - | |
3809 | | - | |
3810 | 3802 | | |
3811 | 3803 | | |
3812 | 3804 | | |
| |||
3954 | 3946 | | |
3955 | 3947 | | |
3956 | 3948 | | |
| 3949 | + | |
| 3950 | + | |
| 3951 | + | |
3957 | 3952 | | |
3958 | 3953 | | |
3959 | 3954 | | |
| |||
3987 | 3982 | | |
3988 | 3983 | | |
3989 | 3984 | | |
3990 | | - | |
| 3985 | + | |
| 3986 | + | |
| 3987 | + | |
| 3988 | + | |
3991 | 3989 | | |
3992 | 3990 | | |
3993 | 3991 | | |
| |||
0 commit comments