aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorBert Karwatzki <[email protected]>2024-07-07 18:38:28 +0000
committerBartosz Golaszewski <[email protected]>2024-07-08 19:15:26 +0000
commit50b040ef373293b4ae2ecdc5873daa4656724868 (patch)
tree82b6eede56fdd98553bf55b0e8a234fe67afdcc9 /drivers/fpga/tests/fpga-mgr-test.c
parentpower: sequencing: simplify returning pointer without cleanup (diff)
downloadkernel-50b040ef373293b4ae2ecdc5873daa4656724868.tar.gz
kernel-50b040ef373293b4ae2ecdc5873daa4656724868.zip
PCI/pwrctl: only call of_platform_populate() if CONFIG_OF is enabled
If of_platform_populate() is called when CONFIG_OF is not defined this leads to spurious error messages of the following type: pci 0000:00:01.1: failed to populate child OF nodes (-19) pci 0000:00:02.1: failed to populate child OF nodes (-19) Fixes: 8fb18619d910 ("PCI/pwrctl: Create platform devices for child OF nodes of the port node") Signed-off-by: Bert Karwatzki <[email protected]> Closes: https://lore.kernel.org/all/[email protected]/ Reviewed-by: Lukas Wunner <[email protected]> Acked-by: Krzysztof WilczyƄski <[email protected]> Reported-by: Praveenkumar Patil <[email protected]> Acked-by: Manivannan Sadhasivam <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions