#include <linux/errno.h>
#include <linux/module.h>
#include <linux/devfreq.h>
#include <linux/math64.h>
#include "governor.h"
#define DFSO_UPTHRESHOLD …
#define DFSO_DOWNDIFFERENCTIAL …
static int devfreq_simple_ondemand_func(struct devfreq *df,
unsigned long *freq)
{ … }
static int devfreq_simple_ondemand_handler(struct devfreq *devfreq,
unsigned int event, void *data)
{ … }
static struct devfreq_governor devfreq_simple_ondemand = …;
static int __init devfreq_simple_ondemand_init(void)
{ … }
subsys_initcall(devfreq_simple_ondemand_init);
static void __exit devfreq_simple_ondemand_exit(void)
{ … }
module_exit(devfreq_simple_ondemand_exit);
MODULE_LICENSE(…) …;