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

    via-rhine.c:rhine_hw_init() must be __devinit
    
    Thie patch fixes the following section mismatch:
    
    <--  snip  -->
    
    ...
    WARNING: drivers/net/built-in.o(.text+0xdd840): Section mismatch in 
reference from the function rhine_hw_init() to the function 
.devinit.text:rhine_reload_eeprom()
    ...
    
    <--  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/via-rhine.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c
index 87c180b..7c851b1 100644
--- a/drivers/net/via-rhine.c
+++ b/drivers/net/via-rhine.c
@@ -606,7 +606,7 @@ static int rhine_napipoll(struct napi_struct *napi, int 
budget)
 }
 #endif
 
-static void rhine_hw_init(struct net_device *dev, long pioaddr)
+static void __devinit rhine_hw_init(struct net_device *dev, long pioaddr)
 {
        struct rhine_private *rp = netdev_priv(dev);
 
-
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