Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e2d221d authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

ANDROID: GKI: add back pm_runtime_get_if_in_use()



In commit a55d55a3 ("PM: runtime: Add pm_runtime_get_if_active()"),
pm_runtime_get_if_in_use() was replaced with an inline function.  That
would normally work just fine, except that function is part of the
Android abi, so the build breaks and so will any module that depends on
it.

So put the function back.

Bug: 161946584
Fixes: a55d55a3 ("PM: runtime: Add pm_runtime_get_if_active()")
Change-Id: Ib7dd90758f1daca3d075d0bf0ae1bfc88b321218
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 933d3af2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment