Am Dienstag, 24. Januar 2012, 00:51:59 schrieb Bjørn Mork: > Preparing for the addition of a wdm_register/wdm_deregister > alternative to probe/destroy for interface-less usage. This should > not change anything apart from minor code reordering. > > Signed-off-by: Bjørn Mork <bjorn@xxxxxxx> > --- > drivers/usb/class/cdc-wdm.c | 129 ++++++++++++++++++++++++------------------ > 1 files changed, 74 insertions(+), 55 deletions(-) > > diff --git a/drivers/usb/class/cdc-wdm.c b/drivers/usb/class/cdc-wdm.c > index e6001ec..e81565f 100644 > --- a/drivers/usb/class/cdc-wdm.c > +++ b/drivers/usb/class/cdc-wdm.c > @@ -617,47 +617,11 @@ static void wdm_rxwork(struct work_struct *work) > > /* --- hotplug --- */ > > -static int wdm_probe(struct usb_interface *intf, const struct usb_device_id *id) > +static struct wdm_device *wdm_create(struct usb_interface *intf, struct usb_endpoint_descriptor *ep, u16 bufsize) Those functions will need to be exported. So they need full names usb_cdc_wdm_create_device() Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html