aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2013-06-19 11:38:09 -0400
committerFelipe Balbi <balbi@ti.com>2013-07-29 06:53:16 -0400
commit260eba39bcfb5681115ec934cdfbd97e0b3a1775 (patch)
treeee73d393639173a73e6478caa13ca17680b197ec /drivers/usb/musb
parent5ae90d8e467e625e447000cb4335c4db973b1095 (diff)
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 <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r--drivers/usb/musb/musb_dma.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/musb/musb_dma.h b/drivers/usb/musb/musb_dma.h
index 1b6b827b769f..8919ce28c3d4 100644
--- a/drivers/usb/musb/musb_dma.h
+++ b/drivers/usb/musb/musb_dma.h
@@ -62,10 +62,10 @@ struct musb_hw_ep;
62 62
63#define DMA_ADDR_INVALID (~(dma_addr_t)0) 63#define DMA_ADDR_INVALID (~(dma_addr_t)0)
64 64
65#ifndef CONFIG_MUSB_PIO_ONLY 65#ifdef CONFIG_MUSB_PIO_ONLY
66#define is_dma_capable() (1)
67#else
68#define is_dma_capable() (0) 66#define is_dma_capable() (0)
67#else
68#define is_dma_capable() (1)
69#endif 69#endif
70 70
71#ifdef CONFIG_USB_TI_CPPI_DMA 71#ifdef CONFIG_USB_TI_CPPI_DMA