On Tue, 26 Oct 2010 17:40:59 +0800
"Li, Jiebing" <[email protected]> wrote:

> From c03bfb5dc571ee2cfe99c75edcda889160f255a1 Mon Sep 17 00:00:00 2001
> From: Jiebing Li <[email protected]>
> Date: Fri, 22 Oct 2010 15:54:50 +0800
> Subject: [PATCH] usb gadget: add support for medfield in composite
> gadget.
> 
> This patch for composite gadget adds support for medfield. In
> medfield, eem/ecm gadget function will not support.

It would be far better to pass a struct and to have fields which have
generic information. The struct also wants to be in a header file
where others can use it.

So instead of passing magic moorestown/medfield cookies to the nokia
gadget, pass 'max endpoints supported'. That way the feature is
generically useful.

_______________________________________________
Meego-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel

Reply via email to