diff options
-rw-r--r-- | include/linux/opp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/opp.h b/include/linux/opp.h index 87a9208f8aec..ee94b33080c2 100644 --- a/include/linux/opp.h +++ b/include/linux/opp.h | |||
@@ -97,11 +97,11 @@ static inline int opp_disable(struct device *dev, unsigned long freq) | |||
97 | return 0; | 97 | return 0; |
98 | } | 98 | } |
99 | 99 | ||
100 | struct srcu_notifier_head *opp_get_notifier(struct device *dev) | 100 | static inline struct srcu_notifier_head *opp_get_notifier(struct device *dev) |
101 | { | 101 | { |
102 | return ERR_PTR(-EINVAL); | 102 | return ERR_PTR(-EINVAL); |
103 | } | 103 | } |
104 | #endif /* CONFIG_PM */ | 104 | #endif /* CONFIG_PM_OPP */ |
105 | 105 | ||
106 | #if defined(CONFIG_CPU_FREQ) && defined(CONFIG_PM_OPP) | 106 | #if defined(CONFIG_CPU_FREQ) && defined(CONFIG_PM_OPP) |
107 | int opp_init_cpufreq_table(struct device *dev, | 107 | int opp_init_cpufreq_table(struct device *dev, |