summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/include/linux/notifier.h
blob: e8030afff2ddb4f45b6ec9b73228063ba2ac70bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* Public domain. */

#ifndef _LINUX_NOTIFIER_H
#define _LINUX_NOTIFIER_H

struct notifier_block {
	int (*notifier_call)(struct notifier_block *, unsigned long, void *);
	SLIST_ENTRY(notifier_block) link;
};

#define ATOMIC_INIT_NOTIFIER_HEAD(x)

#define NOTIFY_DONE	0
#define NOTIFY_OK	1
#define NOTIFY_BAD	2

#endif