Skip to contentSkip to conversation

clk: fix clk_mux::flags kerneldoc

PATCH In review James Hogan 2 participants 2 messages Mar 25, 2013 – Apr 2, 2013 Common clk

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: fix clk_mux::flags kerneldoc

The kerneldoc comment for struct clk_mux documented the non-existent num_clks instead of flags. Correct this.

---
 include/linux/clk-provider.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/clk-provider.h +1 -1
index cdad3ce..e7504d5 100644
@@ -276,7 +276,7 @@ struct clk *clk_register_divider_table(struct device *dev, const char *name,
  * @reg:	register controlling multiplexer
  * @shift:	shift to multiplexer bit field
  * @width:	width of mutliplexer bit field
- * @num_clks:	number of parent clocks
+ * @flags:	hardware-specific flags
  * @lock:	register lock
  *
  * Clock with multiple selectable parents.  Implements .get_parent, .set_parent
Signature · 1 line
1.8.1.2
#1 lore raw

Quoting James Hogan (2013-03-25 07:35:07)

Quoted 4 lines

The kerneldoc comment for struct clk_mux documented the non-existent num_clks instead of flags. Correct this.

Thanks for the fix. Taken into clk-next.

Regards,
Mike

Quoted 19 lines
---
 include/linux/clk-provider.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/clk-provider.h +1 -1
index cdad3ce..e7504d5 100644
@@ -276,7 +276,7 @@ struct clk *clk_register_divider_table(struct device *dev, const char *name,
  * @reg:       register controlling multiplexer
  * @shift:     shift to multiplexer bit field
  * @width:     width of mutliplexer bit field
- * @num_clks:  number of parent clocks
+ * @flags:     hardware-specific flags
  * @lock:      register lock
  *
  * Clock with multiple selectable parents.  Implements .get_parent, .set_parent
Signature · 1 line
1.8.1.2