mirror of
				https://github.com/torvalds/linux.git
				synced 2025-10-31 16:48:26 +02:00 
			
		
		
		
	 2207856ff0
			
		
	
	
		2207856ff0
		
	
	
	
	
		
			
			Introduce initial Rust abstractions for the cpufreq core. This includes basic representations for cpufreq flags, relation types, and the cpufreq table. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			215 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			215 B
		
	
	
	
		
			C
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0
 | |
| 
 | |
| #include <linux/cpufreq.h>
 | |
| 
 | |
| #ifdef CONFIG_CPU_FREQ
 | |
| void rust_helper_cpufreq_register_em_with_opp(struct cpufreq_policy *policy)
 | |
| {
 | |
| 	cpufreq_register_em_with_opp(policy);
 | |
| }
 | |
| #endif
 |