[PATCH] clk: Allocate and add clock lookups from clk_register()

Richard Zhao richard.zhao at freescale.com
Fri Apr 13 04:56:28 EDT 2012


>  struct clk *clk_register(struct device *dev, const char *name,
>  		const struct clk_ops *ops, struct clk_hw *hw,
> -		const char **parent_names, u8 num_parents, unsigned long flags)
> +		const char **parent_names, u8 num_parents, unsigned long flags,
> +		struct clk_lookup **cl, const char *dev_id, const char *con_id)
10 arguments. It worths to use a struct ? 

Thanks
Richard




More information about the linux-arm-kernel mailing list