#define pr_fmt(fmt) …
#include <linux/clk.h>
#include <linux/cpu.h>
#include <linux/cpufreq.h>
#include <linux/cpumask.h>
#include <linux/export.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/pm_opp.h>
#include <linux/scpi_protocol.h>
#include <linux/slab.h>
#include <linux/types.h>
struct scpi_data { … };
static struct scpi_ops *scpi_ops;
static unsigned int scpi_cpufreq_get_rate(unsigned int cpu)
{ … }
static int
scpi_cpufreq_set_target(struct cpufreq_policy *policy, unsigned int index)
{ … }
static int
scpi_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask)
{ … }
static int scpi_cpufreq_init(struct cpufreq_policy *policy)
{ … }
static void scpi_cpufreq_exit(struct cpufreq_policy *policy)
{ … }
static struct cpufreq_driver scpi_cpufreq_driver = …;
static int scpi_cpufreq_probe(struct platform_device *pdev)
{ … }
static void scpi_cpufreq_remove(struct platform_device *pdev)
{ … }
static struct platform_driver scpi_cpufreq_platdrv = …;
module_platform_driver(…) …;
MODULE_ALIAS(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;