The ifdef reads somehow better than an ifndef
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
#define DMA_ADDR_INVALID (~(dma_addr_t)0)
#define DMA_ADDR_INVALID (~(dma_addr_t)0)
-#ifndef CONFIG_MUSB_PIO_ONLY
-#define is_dma_capable() (1)
-#else
+#ifdef CONFIG_MUSB_PIO_ONLY
#define is_dma_capable() (0)
#define is_dma_capable() (0)
+#else
+#define is_dma_capable() (1)
#endif
#ifdef CONFIG_USB_TI_CPPI_DMA
#endif
#ifdef CONFIG_USB_TI_CPPI_DMA