login
Header Space

 
 

drivers/net/sis190: fix section mismatch warning in sis190_get_mac_addr

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git-commits-head@...>
Date: Friday, February 15, 2008 - 6:00 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d785ad...
Commit:     d785ad74641c59074786084b24a9283d7a7727b0
Parent:     f33780d33f8a95fe5dc72b706a4de741e9240f36
Author:     Sergio Luis <sergio@uece.br>
AuthorDate: Sun Feb 10 17:56:25 2008 -0300
Committer:  Jeff Garzik <jeff@garzik.org>
CommitDate: Mon Feb 11 11:15:35 2008 -0500

    drivers/net/sis190: fix section mismatch warning in sis190_get_mac_addr
    
    Fix following warnings:
    WARNING: drivers/net/sis190.o(.text+0x103): Section mismatch in reference from the function sis190_get_mac_addr() to the function .devinit.text:sis190_get_mac_addr_from_apc()
    WARNING: drivers/net/sis190.o(.text+0x10e): Section mismatch in reference from the function sis190_get_mac_addr() to the function .devinit.text:sis190_get_mac_addr_from_eeprom()
    
    Annotate sis190_get_mac_addr() with __devinit.
    
    Signed-off-by: Sergio Luis <sergio@uece.br>
    
     sis190.c |    3 ++-
     1 file changed, 2 insertions(+), 1 deletion(-)
    Signed-off-by: Jeff Garzik <jeff@garzik.org>
---
 drivers/net/sis190.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/net/sis190.c b/drivers/net/sis190.c
index 2e9e88b..202fdf3 100644
--- a/drivers/net/sis190.c
+++ b/drivers/net/sis190.c
@@ -1630,7 +1630,8 @@ static inline void sis190_init_rxfilter(struct net_device *dev)
 	SIS_PCI_COMMIT();
 }
 
-static int sis190_get_mac_addr(struct pci_dev *pdev, struct net_device *dev)
+static int __devinit sis190_get_mac_addr(struct pci_dev *pdev, 
+					 struct net_device *dev)
 {
 	u8 from;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
drivers/net/sis190: fix section mismatch warning in sis190_g..., Linux Kernel Mailing List..., (Fri Feb 15, 6:00 pm)
speck-geostationary