#include <linux/clk-provider.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of_address.h>
#include <linux/platform_device.h>
static struct clk_hw *fixed_mmio_clk_setup(struct device_node *node)
{ … }
static void __init of_fixed_mmio_clk_setup(struct device_node *node)
{ … }
CLK_OF_DECLARE(fixed_mmio_clk, "fixed-mmio-clock", of_fixed_mmio_clk_setup);
static int of_fixed_mmio_clk_probe(struct platform_device *pdev)
{ … }
static void of_fixed_mmio_clk_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id of_fixed_mmio_clk_ids[] = …;
MODULE_DEVICE_TABLE(of, of_fixed_mmio_clk_ids);
static struct platform_driver of_fixed_mmio_clk_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;