Re: [NET] au1000_eth: Fix warnings.

2007-06-26 Thread Jeff Garzik
Ralf Baechle wrote: Fixed by including : CC drivers/net/au1000_eth.o drivers/net/au1000_eth.c: In function 'au1000_probe': drivers/net/au1000_eth.c:661: warning: implicit declaration of function 'dma_alloc_noncoherent' drivers/net/au1000_eth.c:802: warning: implicit declaration of functi

Re: [NET] au1000_eth: Fix warnings.

2007-06-26 Thread Ralf Baechle
On Mon, Jun 25, 2007 at 04:02:16PM -0700, Andrew Morton wrote: > That's more than a warning fix. On most platforms, dma_alloc_noncoherent() > is a #define so the driver just won't link there. > > > > But the driver is mips-only, and MIPS uses a regular C function for > dma_alloc_noncoherent(),

Re: [NET] au1000_eth: Fix warnings.

2007-06-25 Thread Andrew Morton
On Sun, 24 Jun 2007 15:59:54 +0200 Ralf Baechle <[EMAIL PROTECTED]> wrote: > Fixed by including : > > CC drivers/net/au1000_eth.o > drivers/net/au1000_eth.c: In function 'au1000_probe': > drivers/net/au1000_eth.c:661: warning: implicit declaration of function > 'dma_alloc_noncoherent' > d

[NET] au1000_eth: Fix warnings.

2007-06-24 Thread Ralf Baechle
Fixed by including : CC drivers/net/au1000_eth.o drivers/net/au1000_eth.c: In function 'au1000_probe': drivers/net/au1000_eth.c:661: warning: implicit declaration of function 'dma_alloc_noncoherent' drivers/net/au1000_eth.c:802: warning: implicit declaration of function 'dma_free_noncoher