Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1407b3d15694ba6d014ef7f48895169f49a6a02b
Commit:     1407b3d15694ba6d014ef7f48895169f49a6a02b
Parent:     16e543ffa853c8e1de5e1e2bcec0ef9f0b9386fa
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Thu Feb 14 08:30:57 2008 +1100
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Thu Feb 14 22:11:02 2008 +1100

    [POWERPC] hvc_rtas_init() must be __init
    
    This fixes the following section mismatch:
    
    <--  snip  -->
    
    ...
    WARNING: vmlinux.o(.text+0x2fbca8): Section mismatch in reference from the 
function .hvc_rtas_init() to the function .devinit.text:.hvc_alloc()
    ...
    
    <--  snip  -->
    
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 drivers/char/hvc_rtas.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/char/hvc_rtas.c b/drivers/char/hvc_rtas.c
index bb09413..88590d0 100644
--- a/drivers/char/hvc_rtas.c
+++ b/drivers/char/hvc_rtas.c
@@ -76,7 +76,7 @@ static struct hv_ops hvc_rtas_get_put_ops = {
        .put_chars = hvc_rtas_write_console,
 };
 
-static int hvc_rtas_init(void)
+static int __init hvc_rtas_init(void)
 {
        struct hvc_struct *hp;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to