struct clk_notifier — associate a clk with a notifier


struct clk_notifier {
  struct clk * clk;
  struct srcu_notifier_head notifier_head;
  struct list_head node;


struct clk * clk

struct clk * to associate the notifier with

struct srcu_notifier_head notifier_head

a blocking_notifier_head for this clk

struct list_head node

linked list pointers


A list of struct clk_notifier is maintained by the notifier code. An entry is created whenever code registers the first notifier on a particular clk. Future notifiers on that clk are added to the notifier_head.