Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f2c4b47f26c9d3ba32fb51e574d8cacce30f744d
Commit:     f2c4b47f26c9d3ba32fb51e574d8cacce30f744d
Parent:     070c7b8611e852099370b17eaeb470407cb80ffe
Author:     Ralf Baechle <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 10 15:04:06 2007 +0100
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Tue Jul 10 17:33:05 2007 +0100

    [MIPS] PNX: Fix modpost warnings.
    
      MODPOST vmlinux
    WARNING: arch/mips/philips/pnx8550/common/built-in.o(.text+0xd40): Section 
mismatch: reference to .init.data: (after 'pnx8550_platform_init')
    WARNING: arch/mips/philips/pnx8550/common/built-in.o(.text+0xd44): Section 
mismatch: reference to .init.data: (after 'pnx8550_platform_init')
    
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 arch/mips/philips/pnx8550/common/platform.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/philips/pnx8550/common/platform.c 
b/arch/mips/philips/pnx8550/common/platform.c
index d43f56e..c839436 100644
--- a/arch/mips/philips/pnx8550/common/platform.c
+++ b/arch/mips/philips/pnx8550/common/platform.c
@@ -123,7 +123,7 @@ static struct platform_device *pnx8550_platform_devices[] 
__initdata = {
        &pnx8550_uart_device,
 };
 
-int pnx8550_platform_init(void)
+static int __init pnx8550_platform_init(void)
 {
        return platform_add_devices(pnx8550_platform_devices,
                                    ARRAY_SIZE(pnx8550_platform_devices));
-
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