Add a new clk_ops->debug_init method to allow a clock hardware
driver to populate the clock's debugfs directory with entries
beyond those common for every clock.
Signed-off-by: Alex Elder
---
v2: - Define debug_init unconditionally (suggested by Gerhard Sittig).
drivers/clk/clk.c|
On 12/29/2013 11:58 PM, Alex Elder wrote:
> Add a new clk_ops->debug_init method to allow a clock hardware
> driver to populate the clock's debugfs directory with entries
> beyond those common for every clock.
Sorry, forgot to indicate "v2" in the Subject line... -Alex
> Signed-off-by: Alex Eld
On 12/26/2013 08:50 AM, Gerhard Sittig wrote:
> On Thu, Dec 26, 2013 at 08:26 -0600, Alex Elder wrote:
>>
>> @@ -140,6 +147,9 @@ struct clk_ops {
>> int (*set_rate)(struct clk_hw *hw, unsigned long,
>> unsigned long);
>> void(*init)
On Thu, Dec 26, 2013 at 08:26 -0600, Alex Elder wrote:
>
> @@ -140,6 +147,9 @@ struct clk_ops {
> int (*set_rate)(struct clk_hw *hw, unsigned long,
> unsigned long);
> void(*init)(struct clk_hw *hw);
> +#ifdef CONFIG_COMMON_CLK_
Add a new clk_ops->debug_init method to allow a clock hardware
driver to populate the clock's debugfs directory with entries
beyond those common for every clock.
Signed-off-by: Alex Elder
---
drivers/clk/clk.c|4
include/linux/clk-provider.h | 10 ++
2 files change
5 matches
Mail list logo