Subject: Re: Kernel 4.1-rc1 build fails on Sam460ex amcc 460ex powerpc Canyonlands

From: Andy Shevchenko <[email-masked]>
Date: Mon, 04 May 2015 20:18:30 +0300

On Mon, 2015-04-27 at 23:49 -0400, Tejun Heo wrote:
> On Tue, Apr 28, 2015 at 11:12:25AM +1000, Michael Ellerman wrote:
> > On Mon, 2015-04-27 at 06:59 -0400, Julian Margetson wrote:
> > > Kernel 4.1-rc1 build fails  on Sam460ex amcc 460ex powerpc Canyonlands with 
> > > CONFIG_SATA_DWC=y
> > > 
> > > sata_dwc_460ex.c:(.text+0xa165c): undefined reference to `dw_dma_remove'
> > > drivers/built-in.o: In function `sata_dwc_probe':
> > > sata_dwc_460ex.c:(.text+0xa1900): undefined reference to `dw_dma_probe'
> > > sata_dwc_460ex.c:(.text+0xa1954): undefined reference to `dw_dma_remove'
> > > make: *** [vmlinux] Error 1
> > 
> > Looks like it was caused by:
> > 
> > commit 8b3444852a2b58129ee68a8dd69fef81ceb902a1
> > Author: Andy Shevchenko <[email-masked]>
> > Date:   Tue Mar 3 22:41:21 2015 +0200
> > 
> >     sata_dwc_460ex: move to generic DMA driver
> 
> Oops, Andy?
> 

Sorry for late answer. It requires CONFIG_DW_DMAC=y as well. I don't
know the details of PPC configuration, we might add this to
configuration.

-- 
Andy Shevchenko <[email-masked]>
Intel Finland Oy