#include <linux/clk-provider.h>
#include <linux/clkdev.h>
#include <linux/kernel.h>
#include <linux/mfd/tps68470.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/platform_data/tps68470.h>
#include <linux/regmap.h>
#define TPS68470_CLK_NAME …
#define to_tps68470_clkdata(clkd) …
static struct tps68470_clkout_freqs { … } clk_freqs[] = …;
struct tps68470_clkdata { … };
static int tps68470_clk_is_prepared(struct clk_hw *hw)
{ … }
static int tps68470_clk_prepare(struct clk_hw *hw)
{ … }
static void tps68470_clk_unprepare(struct clk_hw *hw)
{ … }
static unsigned long tps68470_clk_recalc_rate(struct clk_hw *hw, unsigned long parent_rate)
{ … }
static unsigned int tps68470_clk_cfg_lookup(unsigned long rate)
{ … }
static long tps68470_clk_round_rate(struct clk_hw *hw, unsigned long rate,
unsigned long *parent_rate)
{ … }
static int tps68470_clk_set_rate(struct clk_hw *hw, unsigned long rate,
unsigned long parent_rate)
{ … }
static const struct clk_ops tps68470_clk_ops = …;
static int tps68470_clk_probe(struct platform_device *pdev)
{ … }
static struct platform_driver tps68470_clk_driver = …;
static int __init tps68470_clk_init(void)
{ … }
subsys_initcall(tps68470_clk_init);
static void __exit tps68470_clk_exit(void)
{ … }
module_exit(tps68470_clk_exit);
MODULE_ALIAS(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;