#include <linux/clk.h>
#include <linux/devfreq.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/pm_opp.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
struct imx_bus { … };
static int imx_bus_target(struct device *dev,
unsigned long *freq, u32 flags)
{ … }
static int imx_bus_get_cur_freq(struct device *dev, unsigned long *freq)
{ … }
static void imx_bus_exit(struct device *dev)
{ … }
static int imx_bus_init_icc(struct device *dev)
{ … }
static int imx_bus_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id imx_bus_of_match[] = …;
MODULE_DEVICE_TABLE(of, imx_bus_of_match);
static struct platform_driver imx_bus_platdrv = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;