From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Mon, 16 Apr 2012 15:59:17 +0200 Subject: [U-Boot] [PATCH 1/4] usb:gadget:composite Composite framework - files from Linux kernel In-Reply-To: <20120416111035.3f4cba36@lmajewski.digital.local> References: <1334214931-19480-1-git-send-email-l.majewski@samsung.com> <1334214931-19480-2-git-send-email-l.majewski@samsung.com> <20120414134235.6038420022F@gemini.denx.de> <20120416111035.3f4cba36@lmajewski.digital.local> Message-ID: <20120416135917.CA281202AAD@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Lukasz Majewski, In message <20120416111035.3f4cba36@lmajewski.digital.local> you wrote: > > > In message <1334214931-19480-2-git-send-email-l.majewski@samsung.com> > > you wrote: > > > Two files from Linux kernel source tree have been ported > > > to u-boot (Linux Kernel v2.6.36): > > > > BTW - would it not make sense to use more recent code as reference? > > Recent composite driver lacks the bind method at struct > usb_gadget_driver. U-boot's gadgets however use this bind (e.g. > ether.c). Also ./include/linux/usb/gadget.h defines bind in this > struct. > > I've choose this version for this backward compatibility reason. This makes little sense to me. Instead, the U-Boto gadget driver shouldbe adapted as well. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Unser Kopf ist rund, damit das Denken die Richtung wechseln kann. -- Francis Picabia