xref: /openbsd/sys/dev/pci/drm/include/linux/notifier.h (revision 4cfece93)
1 /* Public domain. */
2 
3 #ifndef _LINUX_NOTIFIER_H
4 #define _LINUX_NOTIFIER_H
5 
6 struct notifier_block {
7 	int (*notifier_call)(struct notifier_block *, unsigned long, void *);
8 	SLIST_ENTRY(notifier_block) link;
9 };
10 
11 #define ATOMIC_INIT_NOTIFIER_HEAD(x)
12 
13 #define NOTIFY_DONE	0
14 #define NOTIFY_OK	1
15 #define NOTIFY_BAD	2
16 
17 #endif
18