This source file includes following definitions.
- fb_register_client
- fb_unregister_client
- fb_notifier_call_chain
1
2
3
4
5
6
7
8
9
10
11
12
13 #include <linux/fb.h>
14 #include <linux/notifier.h>
15 #include <linux/export.h>
16
17 static BLOCKING_NOTIFIER_HEAD(fb_notifier_list);
18
19
20
21
22
23 int fb_register_client(struct notifier_block *nb)
24 {
25 return blocking_notifier_chain_register(&fb_notifier_list, nb);
26 }
27 EXPORT_SYMBOL(fb_register_client);
28
29
30
31
32
33 int fb_unregister_client(struct notifier_block *nb)
34 {
35 return blocking_notifier_chain_unregister(&fb_notifier_list, nb);
36 }
37 EXPORT_SYMBOL(fb_unregister_client);
38
39
40
41
42
43 int fb_notifier_call_chain(unsigned long val, void *v)
44 {
45 return blocking_notifier_call_chain(&fb_notifier_list, val, v);
46 }
47 EXPORT_SYMBOL_GPL(fb_notifier_call_chain);