]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: drop a gigantic amount of ifdeferry
authorFelipe Balbi <balbi@ti.com>
Wed, 22 Jun 2011 14:28:09 +0000 (17:28 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Jul 2011 21:31:10 +0000 (14:31 -0700)
commitb8dd2eb21047c966cf42fd98b4abedc60bd483fc
tree5f41809476f487de7d461ccaac4d80179d0d2561
parentf72e91ce294dd48172d9e8bed485e7c35917ff66
usb: musb: drop a gigantic amount of ifdeferry

the MUSB IP is always OTG, so there's no point
in adding so many ifdefs on the code. Drop those
and always compile the driver for OTG support.

This also allows us to drop the useless "driver
mode" choice. For doing that, we need to make
musb depend on both Host and Peripheral side.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 files changed:
drivers/usb/musb/Kconfig
drivers/usb/musb/Makefile
drivers/usb/musb/am35x.c
drivers/usb/musb/blackfin.h
drivers/usb/musb/da8xx.c
drivers/usb/musb/davinci.c
drivers/usb/musb/musb_core.c
drivers/usb/musb/musb_core.h
drivers/usb/musb/musb_gadget.c
drivers/usb/musb/musb_gadget_ep0.c
drivers/usb/musb/musb_host.h
drivers/usb/musb/musb_virthub.c
drivers/usb/musb/omap2430.c
drivers/usb/musb/tusb6010.c