Re: linux-next: build warning after merge of the spi tree

Vignesh R
2017-03-27T05:34:15Z

On Monday 27 March 2017 08:11 AM, Stephen Rothwell wrote:
> Hi Mark,
>
> After merging the spi tree, today's linux-next build (x86_64 allmodconfig)
> produced this warning:
>
> drivers/spi/spi-ti-qspi.c: In function 'ti_qspi_dma_xfer':
> drivers/spi/spi-ti-qspi.c:398:21: warning: unused variable 'dma_dev' [-Wunused-variable]
> struct dma_device *dma_dev = chan->device;
> ^
>
> Introduced by commit
>
> 1351aaeb50b2 ("spi: spi-ti-qspi: Use dma_engine wrapper for dma memcpy call")
>

Sorry, I have posted a fix for the same.

--
Regards
Vignesh