projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65a6b7c
)
clk: imx: Make parents const pointer in mux wrappers
author
Abel Vesa
<abel.vesa@nxp.com>
Fri, 14 Dec 2018 15:30:10 +0000
(15:30 +0000)
committer
Stephen Boyd
<sboyd@kernel.org>
Thu, 21 Feb 2019 20:41:16 +0000
(12:41 -0800)
The parents needs to be pointer to const pointer to const char.
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/imx/clk.h
patch
|
blob
|
history
diff --git
a/drivers/clk/imx/clk.h
b/drivers/clk/imx/clk.h
index
1363dbe
..
2e442d8
100644
(file)
--- a/
drivers/clk/imx/clk.h
+++ b/
drivers/clk/imx/clk.h
@@
-329,7
+329,8
@@
static inline struct clk *imx_clk_mux_flags(const char *name,
}
static inline struct clk *imx_clk_mux2_flags(const char *name,
- void __iomem *reg, u8 shift, u8 width, const char **parents,
+ void __iomem *reg, u8 shift, u8 width,
+ const char * const *parents,
int num_parents, unsigned long flags)
{
return clk_register_mux(NULL, name, parents, num_parents,