Re: [PATCH 02/28] usb: musb: export some symbols for glue driver access

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

 



2010/12/13 Felipe Balbi <balbi@xxxxxx>:
> Hi,
>
> On Mon, Dec 13, 2010 at 07:46:20PM +0800, Ming Lei wrote:
>>
>> No, only modprobe musb-omap2430 is enough, which has been OK now in
>> my beagle with this patch set.
>>
>> If we want to run one single binary to support multiple machines and
>> if glue driver can't be built as module, we have to load all glue driver
>> into
>> ram, which is sure very ugly.
>
> glue layer's probe() won't be called as musb-XXXX won't be available. So
> no resources will be used, right ?

Yes, seems it should be, :-)

musb-XXXX is created by arch/xx/mach-yy, so if there is no musb-XXXX,
glue layer's probe() won't be called, then musb_hdrc's probe() can't be called
too.

Above should be reasonable and correct, right?

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