#include <linux/slab.h>
#include <linux/clk-provider.h>
#include <linux/io.h>
#include <linux/of.h>
#include "clk.h"
#define to_socfpga_periph_clk(p) …
static unsigned long clk_periclk_recalc_rate(struct clk_hw *hwclk,
unsigned long parent_rate)
{ … }
static u8 clk_periclk_get_parent(struct clk_hw *hwclk)
{ … }
static const struct clk_ops periclk_ops = …;
static void __init __socfpga_periph_init(struct device_node *node,
const struct clk_ops *ops)
{ … }
void __init socfpga_periph_init(struct device_node *node)
{ … }