Re: [PATCH v2] dmaengine: shdma: fix a build failure on platforms with no DMA support

2013-05-31 Thread Dan Murphy
On 05/31/2013 08:08 AM, Guennadi Liakhovetski wrote: > On Fri, 31 May 2013, Dan Murphy wrote: > >> On 05/30/2013 10:01 PM, Guennadi Liakhovetski wrote: >>> On platforms with no support for the shdma dmaengine driver build is >>> currently failing with >>&

Re: [PATCH v2] dmaengine: shdma: fix a build failure on platforms with no DMA support

2013-05-31 Thread Dan Murphy
shdma_chan_filter(struct dma_chan *chan, void *arg) { return false; } #endif Otherwise runtime will call a NULL pointer > +#endif > > #endif -- -- Dan Murphy -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] dmaengine: shdma: fix a build failure on platforms with no DMA support

2013-05-30 Thread Dan Murphy
ot be better as a #else static inline bool shdma_chan_filter(struct dma_chan *chan, void *arg) { return false; } #endif Otherwise runtime will call a NULL pointer > +#endif > > #endif -- -- Dan Murphy -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html