usb: gadget: move bind() callback back to struct usb_gadget_driver
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 6 Sep 2012 18:11:05 +0000 (20:11 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 10 Sep 2012 12:35:16 +0000 (15:35 +0300)
commit93952956c7078eb41058c5ccc5b34ae6cf59bb64
tree99f00baae3db9f776e8518525502a464f5a9c4f4
parent03e42bd5937c4c24e411690ab165627e93c258b5
usb: gadget: move bind() callback back to struct usb_gadget_driver

This partly reverts 07a18bd7 ("usb gadget: don't save bind callback in
struct usb_composite_driver") and fixes new drivers. The section missmatch
problems was solved by whitelisting bind callback in modpost.

Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/composite.c
drivers/usb/gadget/dbgp.c
drivers/usb/gadget/file_storage.c
drivers/usb/gadget/inode.c
drivers/usb/gadget/udc-core.c
include/linux/usb/gadget.h