ARM: cpu_pm: Fix compilation when CONFIG_PM disabled
When CONFIG_PM is disabled we see cpu_pm_register_notifier error at
link time.
in function init_hw_perf_events:perf_event.c(.init.text+0x14a8): error:
undefined reference to 'cpu_pm_register_notifier'
Change-Id: I97525a3f8938543b2d2c9cafeee83367b8ffe702
Signed-off-by:
Taniya Das <tdas@codeaurora.org>
Loading
Please sign in to comment