Merge tag 'spi-v4.1-rc1' into spi-linus
[cascardo/linux.git] / include / linux / notifier.h
index d65746e..d14a4c3 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;
 };