mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
clk: qcom: clk-rcg: update DEFINE_RCG_DFS() macro
Update the DEFINE_RCG_DFS() macro to avoid the potential clock
struct name aliasing.
This modification originally came from:
commit c88b8062898c ("clk: qcom: Add cdiv clocks for gcc, video
and camera cc driver for KONA").
Change-Id: I5a8b694b5b8a8b5169639a3e09b1ab4c1936e010
Signed-off-by: David Collins <collinsd@codeaurora.org>
This commit is contained in:
parent
228b95aa74
commit
6d960dcc4f
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/* Copyright (c) 2013, 2016-2018, The Linux Foundation. All rights reserved. */
|
||||
/* Copyright (c) 2013, 2016-2019, The Linux Foundation. All rights reserved. */
|
||||
|
||||
#ifndef __QCOM_CLK_RCG_H__
|
||||
#define __QCOM_CLK_RCG_H__
|
||||
|
|
@ -179,7 +179,7 @@ struct clk_rcg_dfs_data {
|
|||
};
|
||||
|
||||
#define DEFINE_RCG_DFS(r) \
|
||||
{ .rcg = &r##_src, .init = &r##_init }
|
||||
{ .rcg = &r, .init = &r##_init }
|
||||
|
||||
extern int qcom_cc_register_rcg_dfs(struct regmap *regmap,
|
||||
const struct clk_rcg_dfs_data *rcgs,
|
||||
|
|
|
|||
Loading…
Reference in a new issue