usb: pch_udc: Fix compile error, warnings and checkpatch warnings
authorRichard Röjfors <richard.rojfors@pelagicore.com>
Tue, 7 Dec 2010 16:28:30 +0000 (17:28 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 10 Dec 2010 22:28:29 +0000 (14:28 -0800)
commit49e208346616328e535b5d6ecd510ab38f210858
tree4cc701ee47b9380a1ae81d15cc1be24fdc936685
parent969152341e852ae7a5e1b11c33ef6244f3cb3579
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 <richard.rojfors@pelagicore.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/pch_udc.c