]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/net/hp.c
[PATCH] hp ethernet: fix section mismatches
[mv-sheeva.git] / drivers / net / hp.c
index cf9fb3698a6bda38f8ac83f96b9cdad39b986fd8..551a71b3c5fd825de937fb56f542a7f339fae414 100644 (file)
@@ -384,7 +384,7 @@ hp_block_output(struct net_device *dev, int count,
 }
 
 /* This function resets the ethercard if something screws up. */
-static void
+static void __init
 hp_init_card(struct net_device *dev)
 {
        int irq = dev->irq;
@@ -409,7 +409,7 @@ MODULE_LICENSE("GPL");
 
 /* This is set up so that only a single autoprobe takes place per call.
 ISA device autoprobes on a running machine are not recommended. */
-int
+int __init
 init_module(void)
 {
        struct net_device *dev;