mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 09:25:19 +07:00
ddd3e8b976
This patch corrects the SPDX License Identifier style in header files related to Clock Drivers for Actions Semi Socs. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used) Changes made by using a script provided by Joe Perches here: https://lkml.org/lkml/2019/2/7/46 Suggested-by: Joe Perches <joe@perches.com> Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
29 lines
720 B
C
29 lines
720 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
//
|
|
// OWL fixed factor clock driver
|
|
//
|
|
// Copyright (c) 2014 Actions Semi Inc.
|
|
// Author: David Liu <liuwei@actions-semi.com>
|
|
//
|
|
// Copyright (c) 2018 Linaro Ltd.
|
|
// Author: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
|
|
|
|
#ifndef _OWL_FIXED_FACTOR_H_
|
|
#define _OWL_FIXED_FACTOR_H_
|
|
|
|
#include "owl-common.h"
|
|
|
|
#define OWL_FIX_FACT(_struct, _name, _parent, _mul, _div, _flags) \
|
|
struct clk_fixed_factor _struct = { \
|
|
.mult = _mul, \
|
|
.div = _div, \
|
|
.hw.init = CLK_HW_INIT(_name, \
|
|
_parent, \
|
|
&clk_fixed_factor_ops, \
|
|
_flags), \
|
|
}
|
|
|
|
extern const struct clk_ops clk_fixed_factor_ops;
|
|
|
|
#endif /* _OWL_FIXED_FACTOR_H_ */
|