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:
Mark Brown 2012-03-21 20:01:20 +00:00 • committed by Mike Turquette
commit d305fb78f3
4 changed files with 7 additions and 7 deletions

View file

@ -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)
{

View file

@ -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;