]> git.hungrycats.org Git - linux/commitdiff
[PATCH] net/hamachi.c: gcc-3.5 build fixes
authorAndrew Morton <akpm@osdl.org>
Tue, 24 Aug 2004 19:25:47 +0000 (15:25 -0400)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 24 Aug 2004 19:25:47 +0000 (15:25 -0400)
From: Adrian Bunk <bunk@fs.tum.de>

  CC      drivers/net/hamachi.o
drivers/net/hamachi.c: In function `hamachi_interrupt':
drivers/net/hamachi.c:562: sorry, unimplemented: inlining failed in call
to 'hamachi_rx': function body not available
drivers/net/hamachi.c:1402: sorry, unimplemented: called from here
make[2]: *** [drivers/net/hamachi.o] Error 1

Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
drivers/net/hamachi.c

index b5169e8492c423da84e82bbc307dce8511249c34..6b0cb2cabdc6967d5a5f8a8d97e041c470e3bcca 100644 (file)
@@ -559,7 +559,7 @@ static void hamachi_tx_timeout(struct net_device *dev);
 static void hamachi_init_ring(struct net_device *dev);
 static int hamachi_start_xmit(struct sk_buff *skb, struct net_device *dev);
 static irqreturn_t hamachi_interrupt(int irq, void *dev_instance, struct pt_regs *regs);
-static inline int hamachi_rx(struct net_device *dev);
+static int hamachi_rx(struct net_device *dev);
 static inline int hamachi_tx(struct net_device *dev);
 static void hamachi_error(struct net_device *dev, int intr_status);
 static int hamachi_close(struct net_device *dev);