mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
clk: Constify parent name arrays
Drivers should be able to declare their arrays of parent names as const so the APIs need to accept const arguments. Signed-off-by: Mark Brown <[email protected]> [[email protected]: constified gate] Signed-off-by: Mike Turquette <[email protected]>
This commit is contained in:
parent
7e87aed965
commit
d305fb78f3
4 changed files with 7 additions and 7 deletions
|
|
@ -89,7 +89,7 @@ const struct clk_ops clk_mux_ops = {
|
|||
EXPORT_SYMBOL_GPL(clk_mux_ops);
|
||||
|
||||
struct clk *clk_register_mux(struct device *dev, const char *name,
|
||||
char **parent_names, u8 num_parents, unsigned long flags,
|
||||
const char **parent_names, u8 num_parents, unsigned long flags,
|
||||
void __iomem *reg, u8 shift, u8 width,
|
||||
u8 clk_mux_flags, spinlock_t *lock)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1328,7 +1328,7 @@ out:
|
|||
*/
|
||||
struct clk *clk_register(struct device *dev, const char *name,
|
||||
const struct clk_ops *ops, struct clk_hw *hw,
|
||||
char **parent_names, u8 num_parents, unsigned long flags)
|
||||
const char **parent_names, u8 num_parents, unsigned long flags)
|
||||
{
|
||||
struct clk *clk;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue