diff options
| author | Mario Limonciello <[email protected]> | 2025-04-14 20:35:51 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2025-05-06 13:54:05 +0000 |
| commit | b841c1d84ad7d4da55d8861ad0e63cec26ddd97d (patch) | |
| tree | 64a8187fe2d3523bcd6369cc4a9b14040cf4af59 /rust/helpers/platform.c | |
| parent | pinctrl: amd: Add an LPS0 check() callback (diff) | |
| download | kernel-b841c1d84ad7d4da55d8861ad0e63cec26ddd97d.tar.gz kernel-b841c1d84ad7d4da55d8861ad0e63cec26ddd97d.zip | |
pinctrl: amd: Fix use of undeclared identifier 'pinctrl_amd_s2idle_dev_ops'
`pinctrl_amd_s2idle_dev_ops` is hidden under both `CONFIG_ACPI` and
`CONFIG_PM_SLEEP` so the functions that use it need the same scope.
Adjust checks to look for both, and while updating make it CONFIG_SUSPEND
instead as that's what the ACPI header uses.
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Mario Limonciello <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Link: https://patch.msgid.link/[email protected]
[ rjw: Add missing #ifdef/#endif block ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
