summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-10-15 08:25:38 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-21 22:21:23 +0200
commitcaa89c8cfe8b61f9b58bec5b6d371141647d319a (patch)
treea8735d483605ab538827929758e1fd9213194d7f /include
parentf538b46572942416a0efd93cbb2d72b2fd1d8d40 (diff)
downloadbarebox-caa89c8cfe8b61f9b58bec5b6d371141647d319a.tar.gz
barebox-caa89c8cfe8b61f9b58bec5b6d371141647d319a.tar.xz
notifier: sparse fixes
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/notifier.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/notifier.h b/include/notifier.h
index 878b17e078..cb2be5f548 100644
--- a/include/notifier.h
+++ b/include/notifier.h
@@ -15,6 +15,7 @@ struct notifier_head {
};
int notifier_chain_register(struct notifier_head *nh, struct notifier_block *n);
+int notifier_chain_unregister(struct notifier_head *nh, struct notifier_block *n);
int notifier_call_chain(struct notifier_head *nh, unsigned long val, void *v);