Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=aa782d3195c8a1f6da9a44f1862f098f41bfe8a2
Commit:     aa782d3195c8a1f6da9a44f1862f098f41bfe8a2
Parent:     e6353f30435002e307bf7dcfaa61fc6800b4b267
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Wed Jan 30 22:03:32 2008 +0200
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Sun Feb 3 04:26:13 2008 -0800

    drivers/net/sunvnet.c:print_version() must be __devinit
    
    This patch fixes the following section mismatches:
    
    <--  snip  -->
    
    ...
    WARNING: drivers/net/sunvnet.o(.text+0x220): Section mismatch in reference 
from the function print_version() to the variable .devinit.data:version
    WARNING: drivers/net/sunvnet.o(.text+0x228): Section mismatch in reference 
from the function print_version() to the variable .devinit.data:version
    ...
    
    <--  snip  -->
    
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 drivers/net/sunvnet.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/sunvnet.c b/drivers/net/sunvnet.c
index 4a0035f..6415ce1 100644
--- a/drivers/net/sunvnet.c
+++ b/drivers/net/sunvnet.c
@@ -1130,7 +1130,7 @@ static struct vio_driver_ops vnet_vio_ops = {
        .handshake_complete     = vnet_handshake_complete,
 };
 
-static void print_version(void)
+static void __devinit print_version(void)
 {
        static int version_printed;
 
-
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