On Tue, 2021-01-05 at 15:02 +0100, Thomas Bogendoerfer wrote: > Signed-off-by: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx> [] > diff --git a/drivers/dma/txx9dmac.h b/drivers/dma/txx9dmac.h [] > @@ -26,11 +26,6 @@ > * DMA channel. > */ > > > -#ifdef CONFIG_MACH_TX49XX > -static inline bool txx9_dma_have_SMPCHN(void) > -{ > - return true; > -} > #define TXX9_DMA_USE_SIMPLE_CHAIN > #else > static inline bool txx9_dma_have_SMPCHN(void) This doesn't look like it compiles as there's now an #else without an #if