@@ -51,6 +51,7 @@ struct notifier_block {
int (*notifier_call)(struct notifier_block *, unsigned long, void *);
struct notifier_block *next;
int priority;
+ void *dev_id;
};
struct atomic_notifier_head {
@@ -64,6 +64,7 @@ static int notifier_chain_unregister(struct notifier_block **n
* @nl: Pointer to head of the blocking notifier chain
* @val: Value passed unmodified to notifier function
* @v: Pointer passed unmodified to notifier function
+ * If pointer is NULL, the notifier block's
cookie is passed
* @nr_to_call: Number of notifier functions to be called. Don't care
* value of this parameter is -1.