power: smb349: add callback to update charger
[linux-2.6.git] / include / linux / opp.h
index 5449945..7020e97 100644 (file)
@@ -94,12 +94,20 @@ static inline int opp_disable(struct device *dev, unsigned long freq)
 #if defined(CONFIG_CPU_FREQ) && defined(CONFIG_PM_OPP)
 int opp_init_cpufreq_table(struct device *dev,
                            struct cpufreq_frequency_table **table);
+void opp_free_cpufreq_table(struct device *dev,
+                               struct cpufreq_frequency_table **table);
 #else
 static inline int opp_init_cpufreq_table(struct device *dev,
                            struct cpufreq_frequency_table **table)
 {
        return -EINVAL;
 }
+
+static inline
+void opp_free_cpufreq_table(struct device *dev,
+                               struct cpufreq_frequency_table **table)
+{
+}
 #endif         /* CONFIG_CPU_FREQ */
 
 #endif         /* __LINUX_OPP_H__ */