Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4c44fd009ae79fc04e2c049f708792ad83400dde
Commit:     4c44fd009ae79fc04e2c049f708792ad83400dde
Parent:     e12651539808437a97f3e33c659c3d7b4000e41e
Author:     Prarit Bhargava <[EMAIL PROTECTED]>
AuthorDate: Tue Mar 6 02:42:00 2007 -0800
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Tue Mar 6 06:10:02 2007 -0500

    __devinit & __devexit cleanups for de2104x driver
    
    Fixes MODPOST warnings similar to:
    
    WARNING: drivers/net/tulip/de2104x.o - Section mismatch: reference to
    .init.text:de_init_one from .data.rel.local after 'de_driver' (at offset 
0x20)
    WARNING: drivers/net/tulip/de2104x.o - Section mismatch: reference to
    .exit.text:de_remove_one from .data.rel.local after 'de_driver' (at offset 
0x28)
    
    Signed-off-by: Prarit Bhargava <[EMAIL PROTECTED]>
    Cc: Valerie Henson <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/net/tulip/de2104x.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/tulip/de2104x.c b/drivers/net/tulip/de2104x.c
index dacea4f..c82befa 100644
--- a/drivers/net/tulip/de2104x.c
+++ b/drivers/net/tulip/de2104x.c
@@ -1685,7 +1685,7 @@ static const struct ethtool_ops de_ethtool_ops = {
        .get_regs               = de_get_regs,
 };
 
-static void __init de21040_get_mac_address (struct de_private *de)
+static void __devinit de21040_get_mac_address (struct de_private *de)
 {
        unsigned i;
 
@@ -1703,7 +1703,7 @@ static void __init de21040_get_mac_address (struct 
de_private *de)
        }
 }
 
-static void __init de21040_get_media_info(struct de_private *de)
+static void __devinit de21040_get_media_info(struct de_private *de)
 {
        unsigned int i;
 
@@ -1765,7 +1765,7 @@ static unsigned __devinit tulip_read_eeprom(void __iomem 
*regs, int location, in
        return retval;
 }
 
-static void __init de21041_get_srom_info (struct de_private *de)
+static void __devinit de21041_get_srom_info (struct de_private *de)
 {
        unsigned i, sa_offset = 0, ofs;
        u8 ee_data[DE_EEPROM_SIZE + 6] = {};
-
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