diff options
author | Tony Lindgren <tony@atomide.com> | 2014-11-24 20:05:06 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-25 15:47:07 +0100 |
commit | ebf3992061db1f7b3aa093f37fb308acc74fbc82 (patch) | |
tree | 7eadbb089c31ffe0030a72992d8dedcf8658d95a /drivers/usb/musb/musb_regs.h | |
parent | usb: musb: Allow multiple glue layers to be built in (diff) | |
download | linux-ebf3992061db1f7b3aa093f37fb308acc74fbc82.tar.xz linux-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.h | 3 |
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 |