Merge branch 'slab/for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penber...
[firefly-linux-kernel-4.4.55.git] / include / linux / notifier.h
index d65746efc954c9b4f396a1bcf6561203de265fc9..d14a4c362465712857d1ea8fe39b974a5c05c4ce 100644 (file)
  * runtime initialization.
  */
 
+typedef        int (*notifier_fn_t)(struct notifier_block *nb,
+                       unsigned long action, void *data);
+
 struct notifier_block {
-       int (*notifier_call)(struct notifier_block *, unsigned long, void *);
+       notifier_fn_t notifier_call;
        struct notifier_block __rcu *next;
        int priority;
 };