mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 20:55:09 +07:00
8b5ee113e1
This patch is V2 of the SH clock framework move from arch/sh/kernel/cpu/clock.c to drivers/sh/clk.c. All code except the following functions are moved: clk_init(), clk_get() and clk_put(). The init function is still kept in clock.c since it depends on the SH-specific machvec implementation. The symbols clk_get() and clk_put() already exist in the common ARM clkdev code, those symbols are left in the SH tree to avoid duplicating them for SH-Mobile ARM. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 lines
394 B
C
17 lines
394 B
C
#ifndef __ASM_SH_CLOCK_H
|
|
#define __ASM_SH_CLOCK_H
|
|
|
|
#include <linux/sh_clk.h>
|
|
|
|
/* Should be defined by processor-specific code */
|
|
void __deprecated arch_init_clk_ops(struct clk_ops **, int type);
|
|
int __init arch_clk_init(void);
|
|
|
|
/* arch/sh/kernel/cpu/clock-cpg.c */
|
|
int __init __deprecated cpg_clk_init(void);
|
|
|
|
/* arch/sh/kernel/cpu/clock.c */
|
|
int clk_init(void);
|
|
|
|
#endif /* __ASM_SH_CLOCK_H */
|