summaryrefslogtreecommitdiff
path: root/include/linux/stacktrace.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-06-11 15:03:45 +0300
committerUlf Hansson <ulfh@kernel.org>2026-06-15 22:12:35 +0300
commit528ad521a433cf873724893bda339df95d8ac1e0 (patch)
tree5e64e4798a659604d0b4c305af7dc691fdb8881f /include/linux/stacktrace.h
parent92b69eff8012f1c8d79f2153857208f36277e0e5 (diff)
downloadlinux-528ad521a433cf873724893bda339df95d8ac1e0.tar.xz
pmdomain: core: fix unused variable warning with !PM_GENERIC_DOMAINS_OF
The genpd provider bus is really only used when CONFIG_PM_GENERIC_DOMAINS_OF is enabled, and since the recent deferred initialisation of domain parent devices, the root device pointer is otherwise unused. Fix the unused variable warning by moving the definition of the root device pointer inside the corresponding ifdef. Fixes: 92b69eff8012 ("pmdomain: core: fix early domain registration") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202606111746.kAxaAbwg-lkp@intel.com/ Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions