diff options
author | Bert Karwatzki <[email protected]> | 2024-07-07 20:38:28 +0200 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2024-07-08 21:15:26 +0200 |
commit | 50b040ef373293b4ae2ecdc5873daa4656724868 (patch) | |
tree | 82b6eede56fdd98553bf55b0e8a234fe67afdcc9 /scripts/gdb/linux/lists.py | |
parent | eba6d0f88ba2c4e9175aae8556125a05980ff8f5 (diff) |
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 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions