summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/ppc_cbe_cpufreq.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cpufreq/ppc_cbe_cpufreq.h')
-rw-r--r--drivers/cpufreq/ppc_cbe_cpufreq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/ppc_cbe_cpufreq.h b/drivers/cpufreq/ppc_cbe_cpufreq.h
index b4c00a5a6..3eace725c 100644
--- a/drivers/cpufreq/ppc_cbe_cpufreq.h
+++ b/drivers/cpufreq/ppc_cbe_cpufreq.h
@@ -17,7 +17,7 @@ int cbe_cpufreq_get_pmode(int cpu);
int cbe_cpufreq_set_pmode_pmi(int cpu, unsigned int pmode);
-#if defined(CONFIG_CPU_FREQ_CBE_PMI) || defined(CONFIG_CPU_FREQ_CBE_PMI_MODULE)
+#if IS_ENABLED(CONFIG_CPU_FREQ_CBE_PMI)
extern bool cbe_cpufreq_has_pmi;
#else
#define cbe_cpufreq_has_pmi (0)