Name

clk_notifier_register — change notifier callback

Synopsis

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

Arguments

struct clk * clk

clock whose rate we are interested in

struct notifier_block * 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.