diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-03-28 13:36:31 +1100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-04-07 10:33:16 +1000 |
commit | 798af00c4d75cdbed58bfe5c31e721bc0daedd9b (patch) | |
tree | 75c757be90e4c70bee41386c2b8a3fa4e312d63d /arch/powerpc/include/asm/opal.h | |
parent | 8f619b5429d9d852df09b85d9e41459859e04951 (diff) | |
download | lwn-798af00c4d75cdbed58bfe5c31e721bc0daedd9b.tar.gz lwn-798af00c4d75cdbed58bfe5c31e721bc0daedd9b.zip |
powerpc/powernv: Add opal_notifier_unregister() and export to modules
opal_notifier_register() is missing a pending "unregister" variant
and should be exposed to modules.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/opal.h')
-rw-r--r-- | arch/powerpc/include/asm/opal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/opal.h b/arch/powerpc/include/asm/opal.h index fe2aa0b48d2b..6fb5f90e6464 100644 --- a/arch/powerpc/include/asm/opal.h +++ b/arch/powerpc/include/asm/opal.h @@ -892,6 +892,8 @@ extern int early_init_dt_scan_opal(unsigned long node, const char *uname, int depth, void *data); extern int opal_notifier_register(struct notifier_block *nb); +extern int opal_notifier_unregister(struct notifier_block *nb); + extern int opal_message_notifier_register(enum OpalMessageType msg_type, struct notifier_block *nb); extern void opal_notifier_enable(void); |