Patchwork tty/hvc_opal: Fix debug function name

login
register
mail settings
Submitter Benjamin Herrenschmidt
Date July 4, 2012, 5:52 a.m.
Message ID <1341381132.16808.0.camel@pasglop>
Download mbox | patch
Permalink /patch/168890/
State Accepted
Commit 50fb31cfed9218b439360caf7c0399b00042da15
Headers show

Comments

Benjamin Herrenschmidt - July 4, 2012, 5:52 a.m.
udbg_init_debug_opal() should be udbg_init_debug_opal_raw() as
the caller in arch/powerpc/kernel/udbg.c expects

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
 drivers/tty/hvc/hvc_opal.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c
index ced26c8..0d2ea0c 100644
--- a/drivers/tty/hvc/hvc_opal.c
+++ b/drivers/tty/hvc/hvc_opal.c
@@ -401,7 +401,7 @@  out:
 }
 
 #ifdef CONFIG_PPC_EARLY_DEBUG_OPAL_RAW
-void __init udbg_init_debug_opal(void)
+void __init udbg_init_debug_opal_raw(void)
 {
 	u32 index = CONFIG_PPC_EARLY_DEBUG_OPAL_VTERMNO;
 	hvc_opal_privs[index] = &hvc_opal_boot_priv;