aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/notifier.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/notifier.h')
-rw-r--r--include/linux/notifier.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/notifier.h b/include/linux/notifier.h
index d65746efc954..d14a4c362465 100644
--- a/include/linux/notifier.h
+++ b/include/linux/notifier.h
@@ -47,8 +47,11 @@
47 * runtime initialization. 47 * runtime initialization.
48 */ 48 */
49 49
50typedef int (*notifier_fn_t)(struct notifier_block *nb,
51 unsigned long action, void *data);
52
50struct notifier_block { 53struct notifier_block {
51 int (*notifier_call)(struct notifier_block *, unsigned long, void *); 54 notifier_fn_t notifier_call;
52 struct notifier_block __rcu *next; 55 struct notifier_block __rcu *next;
53 int priority; 56 int priority;
54}; 57};