mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Merge branches 'pm-avs', 'pm-clk' and 'powercap'
* pm-avs: PM / AVS: rockchip-io: Fix module autoload for OF platform driver * pm-clk: PM / clk: Fix broken build due to non-matching code and header #ifdefs * powercap: powercap / RAPL: Enable Broxton RAPL support
This commit is contained in:
commit
1ab68460b1
3 changed files with 5 additions and 3 deletions
|
|
@ -17,7 +17,7 @@
|
|||
#include <linux/err.h>
|
||||
#include <linux/pm_runtime.h>
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
#ifdef CONFIG_PM_CLK
|
||||
|
||||
enum pce_status {
|
||||
PCE_STATUS_NONE = 0,
|
||||
|
|
@ -404,7 +404,7 @@ int pm_clk_runtime_resume(struct device *dev)
|
|||
return pm_generic_runtime_resume(dev);
|
||||
}
|
||||
|
||||
#else /* !CONFIG_PM */
|
||||
#else /* !CONFIG_PM_CLK */
|
||||
|
||||
/**
|
||||
* enable_clock - Enable a device clock.
|
||||
|
|
@ -484,7 +484,7 @@ static int pm_clk_notify(struct notifier_block *nb,
|
|||
return 0;
|
||||
}
|
||||
|
||||
#endif /* !CONFIG_PM */
|
||||
#endif /* !CONFIG_PM_CLK */
|
||||
|
||||
/**
|
||||
* pm_clk_add_notifier - Add bus type notifier for power management clocks.
|
||||
|
|
|
|||
Loading…
Reference in a new issue