#define pr_fmt(fmt) …
#include <linux/clk.h>
#include <linux/cpufreq.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/types.h>
static struct { … } spear_cpufreq;
static struct clk *spear1340_cpu_get_possible_parent(unsigned long newfreq)
{ … }
static int spear1340_set_cpu_rate(struct clk *sys_pclk, unsigned long newfreq)
{ … }
static int spear_cpufreq_target(struct cpufreq_policy *policy,
unsigned int index)
{ … }
static int spear_cpufreq_init(struct cpufreq_policy *policy)
{ … }
static struct cpufreq_driver spear_cpufreq_driver = …;
static int spear_cpufreq_probe(struct platform_device *pdev)
{ … }
static struct platform_driver spear_cpufreq_platdrv = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;