]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: move IPA power operations to ipa_clock.c
authorAlex Elder <elder@linaro.org>
Wed, 4 Aug 2021 15:36:24 +0000 (10:36 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Aug 2021 10:27:05 +0000 (11:27 +0100)
commit3b52d839c6a06d752d4416e40cfbd31e6758738b
tree56318c7603231c7225aaec8113362b0f7cb9119a
parent95b3d95761dfd9ef587e47960cbcbdd46c22823b
net: ipa: move IPA power operations to ipa_clock.c

Move ipa_suspend() and ipa_resume(), as well as the definition of
the ipa_pm_ops structure into "ipa_clock.c".  Make ipa_pm_ops public
and declare it as extern in "ipa_clock.h".

This is part of centralizing IPA power management functionality into
"ipa_clock.c" (the file will eventually get a name change).

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_clock.c
drivers/net/ipa/ipa_clock.h
drivers/net/ipa/ipa_main.c