Commit a6011056 authored by Thomas Schlichter's avatar Thomas Schlichter Committed by Hideaki Yoshifuji

[NET]: One missed non-netdev SET_MODULE_OWNER case.

parent ac8d3d2f
......@@ -1804,7 +1804,7 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id
}
memcpy(vdev, &pwc_template, sizeof(pwc_template));
strcpy(vdev->name, name);
SET_MODULE_OWNER(vdev);
vdev->owner = THIS_MODULE;
pdev->vdev = vdev;
vdev->priv = pdev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment