]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/atarilance.c
drivers/net/apne.c: replace init_module&cleanup_module with module_init&module_exit
[linux-2.6-omap-h63xx.git] / drivers / net / atarilance.c
index ebf1a3a88e156aeed5491da8105d55ba9f21fba8..13c293b286de37f4509e039c66a384b00ebc0249 100644 (file)
@@ -336,8 +336,6 @@ struct lance_addr {
 
 /***************************** Prototypes *****************************/
 
-static int addr_accessible( volatile void *regp, int wordflag, int
-                            writeflag );
 static unsigned long lance_probe1( struct net_device *dev, struct lance_addr
                                    *init_rec );
 static int lance_open( struct net_device *dev );
@@ -406,7 +404,8 @@ struct net_device * __init atarilance_probe(int unit)
 
 /* Derived from hwreg_present() in atari/config.c: */
 
-static int __init addr_accessible( volatile void *regp, int wordflag, int writeflag )
+static noinline int __init addr_accessible(volatile void *regp, int wordflag,
+                                          int writeflag)
 {
        int             ret;
        long    flags;
@@ -1023,7 +1022,7 @@ static int lance_rx( struct net_device *dev )
                                        DECLARE_MAC_BUF(mac);
                                        DECLARE_MAC_BUF(mac2);
 
-                                       printk(KERN_DEBUG "%s: RX pkt type 0x%04x from %s to %s ",
+                                       printk(KERN_DEBUG "%s: RX pkt type 0x%04x from %s to %s "
                                                   "data %02x %02x %02x %02x %02x %02x %02x %02x "
                                                   "len %d\n",
                                                   dev->name, ((u_short *)data)[6],