SysTutorials

Linux Manual Pages › Section 9

clk_notifier_register(9)

clk_notifier_register - change notifier callback

Synopsis

int clk_notifier_register(struct clk *clk, struct notifier_block *nb);

Arguments

clk

clock whose rate we are interested in

nb

notifier block with callback function pointer

Description

ProTip: debugging across notifier chains can be frustrating. Make sure that your notifier callback function prints a nice big warning in case of failure.

Copyright