mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
This patch moves cpufreq driver of powerpc platforms/cell to drivers/cpufreq. Signed-off-by: Viresh Kumar <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
25 lines
584 B
C
25 lines
584 B
C
/*
|
|
* ppc_cbe_cpufreq.h
|
|
*
|
|
* This file contains the definitions used by the cbe_cpufreq driver.
|
|
*
|
|
* (C) Copyright IBM Deutschland Entwicklung GmbH 2005-2007
|
|
*
|
|
* Author: Christian Krafft <[email protected]>
|
|
*
|
|
*/
|
|
|
|
#include <linux/cpufreq.h>
|
|
#include <linux/types.h>
|
|
|
|
int cbe_cpufreq_set_pmode(int cpu, unsigned int pmode);
|
|
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)
|
|
extern bool cbe_cpufreq_has_pmi;
|
|
#else
|
|
#define cbe_cpufreq_has_pmi (0)
|
|
#endif
|