On Mon, Dec 13, 2010 at 06:28:18PM +0800, Ming Lei wrote:
2010/12/13 Felipe Balbi <balbi@xxxxxx>:
On Mon, Dec 13, 2010 at 01:01:39AM +0800, tom.leiming@xxxxxxxxx wrote:
From: Ming Lei <tom.leiming@xxxxxxxxx>
Obviously hw glue layer driver should be compiled as module,
which can help to build one single image to support multiple machines.
Signed-off-by: Ming Lei <tom.leiming@xxxxxxxxx>
---
drivers/usb/musb/Kconfig | 62
++++++++++++++++++++++++++++++++-------------
drivers/usb/musb/Makefile | 12 ++++----
2 files changed, 50 insertions(+), 24 deletions(-)
diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig
index 2250b91..5e0a5e8 100644
--- a/drivers/usb/musb/Kconfig
+++ b/drivers/usb/musb/Kconfig
@@ -36,31 +36,57 @@ choice
prompt "Platform Glue Layer"
depends on USB_MUSB_HDRC
-config USB_MUSB_DAVINCI
- bool "DaVinci"
just change the original to tristate.
Many files in arch/arm/mach-* depend them, so I keep this option
as 'bool' to avoid arch tree involved in the patches since 'tristate'
may add "_MODULE" to the option name.
true, good point. We can use what you suggest then.
--
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html