Commit ad8f6406 authored by Adrian Bunk's avatar Adrian Bunk Committed by Jeff Garzik

[PATCH] 2.6.8-rc1-mm1: 8139too: uninline rtl8139_start_thread

On Wed, Jul 14, 2004 at 10:29:18PM +0200, Dominik Karall wrote:
> On Wednesday 14 July 2004 03:25, Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8-rc1/2.6
> >.8-rc1-mm1/
>
>   CC [M]  drivers/net/8139too.o
> drivers/net/8139too.c: In function `rtl8139_open':
> drivers/net/8139too.c:616: nicht implementiert: >>inline<< beim Aufruf von
> >>rtl8139_start_thread<< gescheitert: function body not available
> drivers/net/8139too.c:1362: nicht implementiert: von hier aufgerufen
> make[3]: *** [drivers/net/8139too.o] Fehler 1
> make[2]: *** [drivers/net] Fehler 2
> make[1]: *** [drivers] Fehler 2
> make[1]: Verlasse Verzeichnis »/usr/src/linux-2.6.6«
> make: *** [stamp-build] Fehler 2
>
> gcc 3.4

I should be fast at going through my gcc 3.4 TODO list...

Fix below.

> greets
> dominik

cu
Adrian


<--  snip  -->


uninline rtl8139_start_thread in drivers/net/8139too.c .
Signed-off-by: default avatarAdrian Bunk <bunk@fs.tum.de>
parent 2fe6072a
......@@ -613,7 +613,7 @@ static int rtl8139_open (struct net_device *dev);
static int mdio_read (struct net_device *dev, int phy_id, int location);
static void mdio_write (struct net_device *dev, int phy_id, int location,
int val);
static inline void rtl8139_start_thread(struct net_device *dev);
static void rtl8139_start_thread(struct net_device *dev);
static void rtl8139_tx_timeout (struct net_device *dev);
static void rtl8139_init_ring (struct net_device *dev);
static int rtl8139_start_xmit (struct sk_buff *skb,
......@@ -1643,7 +1643,7 @@ static int rtl8139_thread (void *data)
complete_and_exit (&tp->thr_exited, 0);
}
static inline void rtl8139_start_thread(struct net_device *dev)
static void rtl8139_start_thread(struct net_device *dev)
{
struct rtl8139_private *tp = dev->priv;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment