Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
fb_notify.c
Go to the documentation of this file.
1 /*
2  * linux/drivers/video/fb_notify.c
3  *
4  * Copyright (C) 2006 Antonino Daplas <[email protected]>
5  *
6  * 2001 - Documented with DocBook
7  * - Brad Douglas <[email protected]>
8  *
9  * This file is subject to the terms and conditions of the GNU General Public
10  * License. See the file COPYING in the main directory of this archive
11  * for more details.
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 
24 {
25  return blocking_notifier_chain_register(&fb_notifier_list, nb);
26 }
28 
34 {
35  return blocking_notifier_chain_unregister(&fb_notifier_list, nb);
36 }
38 
43 int fb_notifier_call_chain(unsigned long val, void *v)
44 {
45  return blocking_notifier_call_chain(&fb_notifier_list, val, v);
46 }