summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_regs.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2014-11-24 11:05:06 -0800
committerFelipe Balbi <balbi@ti.com>2014-11-25 08:47:07 -0600
commitebf3992061db1f7b3aa093f37fb308acc74fbc82 (patch)
tree7eadbb089c31ffe0030a72992d8dedcf8658d95a /drivers/usb/musb/musb_regs.h
parent82c02f58ba3a1ee0a067c0f90513e826d6152ba6 (diff)
downloadlinux-stable-ebf3992061db1f7b3aa093f37fb308acc74fbc82.tar.gz
linux-stable-ebf3992061db1f7b3aa093f37fb308acc74fbc82.tar.bz2
linux-stable-ebf3992061db1f7b3aa093f37fb308acc74fbc82.zip
usb: musb: Use IS_ENABLED for tusb6010
This removes the ifdef clutter a bit and saves few lines. It also makes it easier to detect the remaining places where we have conditional building of code done based on if defined for things like DMA. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_regs.h')
-rw-r--r--drivers/usb/musb/musb_regs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/musb/musb_regs.h b/drivers/usb/musb/musb_regs.h
index 92b4c3df9ffa..11f0be07491e 100644
--- a/drivers/usb/musb/musb_regs.h
+++ b/drivers/usb/musb/musb_regs.h
@@ -287,10 +287,7 @@
#define MUSB_FIFOSIZE 0x0F
#define MUSB_CONFIGDATA MUSB_FIFOSIZE /* Re-used for EP0 */
-#if defined(CONFIG_USB_MUSB_TUSB6010) || \
- defined(CONFIG_USB_MUSB_TUSB6010_MODULE)
#include "tusb6010.h" /* Needed "only" for TUSB_EP0_CONF */
-#endif
#define MUSB_TXCSR_MODE 0x2000