summaryrefslogtreecommitdiff
path: root/drivers/pci/remove.c
diff options
context:
space:
mode:
authorBert Karwatzki <spasswolf@web.de>2024-07-07 20:38:28 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-07-08 21:15:26 +0200
commit50b040ef373293b4ae2ecdc5873daa4656724868 (patch)
tree82b6eede56fdd98553bf55b0e8a234fe67afdcc9 /drivers/pci/remove.c
parenteba6d0f88ba2c4e9175aae8556125a05980ff8f5 (diff)
downloadlwn-50b040ef373293b4ae2ecdc5873daa4656724868.tar.gz
lwn-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 <spasswolf@web.de> Closes: https://lore.kernel.org/all/20240702173255.39932-1-superm1@kernel.org/ Reviewed-by: Lukas Wunner <lukas@wunner.de> Acked-by: Krzysztof Wilczyński <kw@linux.com> Reported-by: Praveenkumar Patil <PraveenKumar.Patil@amd.com> Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Link: https://lore.kernel.org/r/20240707183829.41519-1-spasswolf@web.de Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/pci/remove.c')
0 files changed, 0 insertions, 0 deletions