From: Sebastian Andrzej Siewior Date: Wed, 19 Jun 2013 15:38:09 +0000 (+0200) Subject: usb: musb: replace ifndef with ifdef for CONFIG_MUSB_PIO_ONLY X-Git-Tag: v3.12-rc1~186^2~77^2~100 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=260eba39bcfb5681115ec934cdfbd97e0b3a1775;p=profile%2Fivi%2Fkernel-x86-ivi.git usb: musb: replace ifndef with ifdef for CONFIG_MUSB_PIO_ONLY The ifdef reads somehow better than an ifndef Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/musb/musb_dma.h b/drivers/usb/musb/musb_dma.h index 1b6b827b769..8919ce28c3d 100644 --- a/drivers/usb/musb/musb_dma.h +++ b/drivers/usb/musb/musb_dma.h @@ -62,10 +62,10 @@ struct musb_hw_ep; #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) +#else +#define is_dma_capable() (1) #endif #ifdef CONFIG_USB_TI_CPPI_DMA