diff options
author | Marc Dietrich <marvin24@gmx.de> | 2013-04-29 21:14:51 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-14 11:07:50 (GMT) |
commit | 111c158787b2a2036c444f735370cb6aef823f78 (patch) | |
tree | 6e89f5909fc68d47350298f7b1a924d6a2eb9cdd /drivers/staging/nvec/nvec.h | |
parent | 99758dec9507fa1c5723c926626499e895679c40 (diff) | |
download | linux-111c158787b2a2036c444f735370cb6aef823f78.tar.xz |
staging: nvec: implement unregistering of notifiers
This implements the unregistering of notifiers so kernel modules
can be unloaded.
Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/nvec/nvec.h')
-rw-r--r-- | drivers/staging/nvec/nvec.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/nvec/nvec.h b/drivers/staging/nvec/nvec.h index b7a14bc..2b1316d 100644 --- a/drivers/staging/nvec/nvec.h +++ b/drivers/staging/nvec/nvec.h @@ -197,9 +197,8 @@ extern int nvec_register_notifier(struct nvec_chip *nvec, struct notifier_block *nb, unsigned int events); -extern int nvec_unregister_notifier(struct device *dev, - struct notifier_block *nb, - unsigned int events); +extern int nvec_unregister_notifier(struct nvec_chip *dev, + struct notifier_block *nb); extern void nvec_msg_free(struct nvec_chip *nvec, struct nvec_msg *msg); |