From: Richard Röjfors Date: Tue, 7 Dec 2010 16:28:30 +0000 (+0100) Subject: usb: pch_udc: Fix compile error, warnings and checkpatch warnings X-Git-Tag: v2.6.38-rc1~465^2~11^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49e208346616328e535b5d6ecd510ab38f210858;p=pandora-kernel.git usb: pch_udc: Fix compile error, warnings and checkpatch warnings Building pch_udc in linux-next fails, this patch fixes the a compile error: drivers/usb/gadget/pch_udc.c: In function ‘usb_gadget_register_driver’: drivers/usb/gadget/pch_udc.c:2645: error: ‘struct usb_gadget_driver’ has no member named ‘bind’ drivers/usb/gadget/pch_udc.c:2664: error: ‘struct usb_gadget_driver’ has no member named ‘bind’ And a couple of compiler warnings and checkpatch warnings. Signed-off-by: Richard Röjfors Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed