#include <linux/devfreq.h>
#include <linux/module.h>
#include "governor.h"
static int devfreq_powersave_func(struct devfreq *df,
unsigned long *freq)
{ … }
static int devfreq_powersave_handler(struct devfreq *devfreq,
unsigned int event, void *data)
{ … }
static struct devfreq_governor devfreq_powersave = …;
static int __init devfreq_powersave_init(void)
{ … }
subsys_initcall(devfreq_powersave_init);
static void __exit devfreq_powersave_exit(void)
{ … }
module_exit(devfreq_powersave_exit);
MODULE_LICENSE(…) …;