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>
diff --git a/include/linux/cpu_pm.h b/include/linux/cpu_pm.h
index a165fd7..d399bf8 100644
--- a/include/linux/cpu_pm.h
+++ b/include/linux/cpu_pm.h
@@ -67,7 +67,13 @@
 	CPU_CLUSTER_PM_EXIT,
 };
 
+#ifdef CONFIG_CPU_PM
 int cpu_pm_register_notifier(struct notifier_block *nb);
+#else
+static inline int cpu_pm_register_notifier(struct notifier_block *nb)
+{ return 0; }
+#endif
+
 int cpu_pm_unregister_notifier(struct notifier_block *nb);
 
 /*