diff options
author | Sergio Luis <sergio@uece.br> | 2008-02-10 15:56:25 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-02-11 11:15:35 -0500 |
commit | d785ad74641c59074786084b24a9283d7a7727b0 (patch) | |
tree | 39113c2caec8d8a362ff7d75716657ff7c7e5d33 /drivers/net | |
parent | f33780d33f8a95fe5dc72b706a4de741e9240f36 (diff) |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | 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 2e9e88be7b33..202fdf356621 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) | |||
1630 | SIS_PCI_COMMIT(); | 1630 | SIS_PCI_COMMIT(); |
1631 | } | 1631 | } |
1632 | 1632 | ||
1633 | static int sis190_get_mac_addr(struct pci_dev *pdev, struct net_device *dev) | 1633 | static int __devinit sis190_get_mac_addr(struct pci_dev *pdev, |
1634 | struct net_device *dev) | ||
1634 | { | 1635 | { |
1635 | u8 from; | 1636 | u8 from; |
1636 | 1637 | ||