Skip to content

Commit ebf5157

Browse files
claudiubezneabebarino
authored andcommitted
clk: fix typo in clk_hw_register_fixed_rate_parent_data() macro
clk_hw_register_fixed_rate_parent_data() 3rd parameter is parent_data not parent_hw. Inner function (__clk_hw_register_fixed_rate()) is called with parent_data parameter as valid. To have this parameter taken into account update the name of the 3rd parameter of clk_hw_register_fixed_rate_parent_data() macro to parent_data. Signed-off-by: Claudiu Beznea <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 7fb933e commit ebf5157

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/clk-provider.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ struct clk *clk_register_fixed_rate(struct device *dev, const char *name,
415415
* @flags: framework-specific flags
416416
* @fixed_rate: non-adjustable clock rate
417417
*/
418-
#define clk_hw_register_fixed_rate_parent_data(dev, name, parent_hw, flags, \
418+
#define clk_hw_register_fixed_rate_parent_data(dev, name, parent_data, flags, \
419419
fixed_rate) \
420420
__clk_hw_register_fixed_rate((dev), NULL, (name), NULL, NULL, \
421421
(parent_data), (flags), (fixed_rate), 0, \

0 commit comments

Comments
 (0)