net/mlx5: remove a duplicate condition
[linux/fpc-iii.git] / drivers / cpufreq / ppc_cbe_cpufreq.h
blob3eace725ccd6c6c20c8db9abfaf139b15d41c3cb
1 /*
2 * ppc_cbe_cpufreq.h
4 * This file contains the definitions used by the cbe_cpufreq driver.
6 * (C) Copyright IBM Deutschland Entwicklung GmbH 2005-2007
8 * Author: Christian Krafft <krafft@de.ibm.com>
12 #include <linux/cpufreq.h>
13 #include <linux/types.h>
15 int cbe_cpufreq_set_pmode(int cpu, unsigned int pmode);
16 int cbe_cpufreq_get_pmode(int cpu);
18 int cbe_cpufreq_set_pmode_pmi(int cpu, unsigned int pmode);
20 #if IS_ENABLED(CONFIG_CPU_FREQ_CBE_PMI)
21 extern bool cbe_cpufreq_has_pmi;
22 #else
23 #define cbe_cpufreq_has_pmi (0)
24 #endif