mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 11:55:07 +07:00
a8e3ced421
Factor out the common functions into loongson1/clk.c to support both Loongson1B and Loongson1C. And, put the rest into loongson1/clk-loongson1b.c. Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
20 lines
597 B
C
20 lines
597 B
C
/*
|
|
* Copyright (c) 2012-2016 Zhang, Keguang <keguang.zhang@gmail.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
* option) any later version.
|
|
*/
|
|
|
|
#ifndef __LOONGSON1_CLK_H
|
|
#define __LOONGSON1_CLK_H
|
|
|
|
struct clk_hw *clk_hw_register_pll(struct device *dev,
|
|
const char *name,
|
|
const char *parent_name,
|
|
const struct clk_ops *ops,
|
|
unsigned long flags);
|
|
|
|
#endif /* __LOONGSON1_CLK_H */
|