Subject: Re: linux-next: usb tree build failure

From: Randy Dunlap <[email-masked]>
Date: Wed, 29 Apr 2009 08:18:20 -0700

Stephen Rothwell wrote:
> Hi Greg,
> 
> Today's linux-next build (powerpc allyesconfig) failed like this:
> 
> drivers/usb/built-in.o: In function `.handle_event':
> (.text+0x67dd0): multiple definition of `.handle_event'
> drivers/pcmcia/built-in.o:(.text+0xcfcc): first defined here
> drivers/usb/built-in.o: In function `handle_event':
> (.opd+0x5bc8): multiple definition of `handle_event'
> drivers/pcmcia/built-in.o:(.opd+0xed0): first defined here

There's also this one:

drivers/usb/host/xhci-mem.c:46: error: implicit declaration of function 'dma_pool_alloc'
drivers/usb/host/xhci-mem.c:69: error: implicit declaration of function 'dma_pool_free'
drivers/usb/host/xhci-mem.c:578: error: implicit declaration of function 'dma_pool_destroy'
drivers/usb/host/xhci-mem.c:657: error: implicit declaration of function 'dma_pool_create'

That file needs to
#include <linux/dmapool.h>

-- 
~Randy