brintos

brintos / linux-shallow public Read only

0
0
Text · 571 B · 736b8bb Raw
17 lines · c
1/* SPDX-License-Identifier: GPL-2.0-only */2 3#include <linux/compiler.h>4#include <linux/types.h>5 6extern int pxa25x_clocks_init(void __iomem *regs);7extern int pxa27x_clocks_init(void __iomem *regs);8extern int pxa3xx_clocks_init(void __iomem *regs, void __iomem *oscc_reg);9 10#ifdef CONFIG_PXA3xx11extern unsigned	pxa3xx_get_clk_frequency_khz(int);12extern void pxa3xx_clk_update_accr(u32 disable, u32 enable, u32 xclkcfg, u32 mask);13#else14#define pxa3xx_get_clk_frequency_khz(x)		(0)15#define pxa3xx_clk_update_accr(disable, enable, xclkcfg, mask) do { } while (0)16#endif17