mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
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 <[email protected]> Signed-off-by: Nishad Kamdar <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
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 <[email protected]>
|
|
//
|
|
// Copyright (c) 2018 Linaro Ltd.
|
|
// Author: Manivannan Sadhasivam <[email protected]>
|
|
|
|
#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_ */
|