Commit c78874ac authored by Dominik Brodowski's avatar Dominik Brodowski Committed by Kai Germaschewski

[PATCH] cpufreq: #defines update

Make gcc-2.91.66 happy. Noted by Andrew Morton - thanks.
parent 2878bb16
...@@ -734,8 +734,8 @@ static inline void cpufreq_sysctl_exit(void) ...@@ -734,8 +734,8 @@ static inline void cpufreq_sysctl_exit(void)
} }
#else #else
#define cpufreq_sysctl_init() #define cpufreq_sysctl_init() do {} while(0)
#define cpufreq_sysctl_exit() #define cpufreq_sysctl_exit() do {} while(0)
#endif /* CONFIG_SYSCTL */ #endif /* CONFIG_SYSCTL */
#endif /* CONFIG_CPU_FREQ_24_API */ #endif /* CONFIG_CPU_FREQ_24_API */
...@@ -946,7 +946,7 @@ static inline void adjust_jiffies(unsigned long val, struct cpufreq_freqs *ci) ...@@ -946,7 +946,7 @@ static inline void adjust_jiffies(unsigned long val, struct cpufreq_freqs *ci)
loops_per_jiffy = cpufreq_scale(l_p_j_ref, l_p_j_ref_freq, ci->new); loops_per_jiffy = cpufreq_scale(l_p_j_ref, l_p_j_ref_freq, ci->new);
} }
#else #else
#define adjust_jiffies(...) #define adjust_jiffies(x...) do {} while (0)
#endif #endif
...@@ -1131,6 +1131,6 @@ int cpufreq_restore(void) ...@@ -1131,6 +1131,6 @@ int cpufreq_restore(void)
} }
EXPORT_SYMBOL_GPL(cpufreq_restore); EXPORT_SYMBOL_GPL(cpufreq_restore);
#else #else
#define cpufreq_restore() #define cpufreq_restore() do {} while (0)
#endif /* CONFIG_PM */ #endif /* CONFIG_PM */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment