4 #include <linux/notifier.h>
6 extern struct notifier_block
*sound_locker
;
7 extern void sound_notifier_chain_register(struct notifier_block
*);
11 #define SOUND_LOCK sound_notifier_chain_register(&sound_notifier);
12 #define SOUND_LOCK_END notifier_chain_unregister(&sound_locker, &sound_notifier)
14 static int my_notifier_call(struct notifier_block
*b
, unsigned long foo
, void *bar
)
23 static struct notifier_block sound_notifier
=