On Sun, Jul 07, 2024 at 08:38:28PM +0200, Bert Karwatzki wrote: > 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@xxxxxx> Reported-by: Praveenkumar Patil <PraveenKumar.Patil@xxxxxxx> Closes: https://lore.kernel.org/all/20240702173255.39932-1-superm1@xxxxxxxxxx/ Reviewed-by: Lukas Wunner <lukas@xxxxxxxxx> Cc: Mario Limonciello <mario.limonciello@xxxxxxx>