summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/configfs.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-10-18 03:57:06 +0400
committerFelipe Balbi <balbi@ti.com>2014-11-03 19:01:16 +0300
commit02e8c966274f1049cca8d3f17092f8275979b8eb (patch)
treeec469bf51aa13fe6a571e34bab3765a1f310ea76 /drivers/usb/gadget/configfs.c
parent22835b807e7ca946a4d1fbd4c7af56aa09cd273e (diff)
downloadlinux-02e8c966274f1049cca8d3f17092f8275979b8eb.tar.xz
usb: gadget: udc: core: prepend udc_attach_driver with usb_
No functional changes, just adding a prefix which should have been there from the start. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/configfs.c')
-rw-r--r--drivers/usb/gadget/configfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/configfs.c b/drivers/usb/gadget/configfs.c
index d25f9f3dfea0..75648145dc1b 100644
--- a/drivers/usb/gadget/configfs.c
+++ b/drivers/usb/gadget/configfs.c
@@ -271,7 +271,7 @@ static ssize_t gadget_dev_desc_UDC_store(struct gadget_info *gi,
ret = -EBUSY;
goto err;
}
- ret = udc_attach_driver(name, &gi->composite.gadget_driver);
+ ret = usb_udc_attach_driver(name, &gi->composite.gadget_driver);
if (ret)
goto err;
gi->udc_name = name;