Re: [PATCH 03/28] usb: musb: support to compile hw glue layer driver as module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
Lei Ming
--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux