summaryrefslogtreecommitdiff
path: root/drivers/phy/eswin/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-06-11 14:03:45 +0200
committerUlf Hansson <ulfh@kernel.org>2026-06-15 21:12:35 +0200
commit528ad521a433cf873724893bda339df95d8ac1e0 (patch)
tree5e64e4798a659604d0b4c305af7dc691fdb8881f /drivers/phy/eswin/git@git.tavy.me:linux.git
parent92b69eff8012f1c8d79f2153857208f36277e0e5 (diff)
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 'drivers/phy/eswin/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions