diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-06 18:44:42 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 18:44:42 (GMT) |
commit | c682b17060788ace1abaeb080358ef7b62b1f541 (patch) | |
tree | 9c355eb823342e674c3448f33a8761736dd0f211 /drivers/usb/gadget/fsl_qe_udc.c | |
parent | 14ab309d33efda7b78bad1d331fd1963ed3bd906 (diff) | |
download | linux-fsl-qoriq-c682b17060788ace1abaeb080358ef7b62b1f541.tar.xz |
gadget: struct device - replace bus_id with dev_name(), dev_set_name()
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/fsl_qe_udc.c')
-rw-r--r-- | drivers/usb/gadget/fsl_qe_udc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/fsl_qe_udc.c b/drivers/usb/gadget/fsl_qe_udc.c index b3408ff..f402725 100644 --- a/drivers/usb/gadget/fsl_qe_udc.c +++ b/drivers/usb/gadget/fsl_qe_udc.c @@ -2545,7 +2545,7 @@ static int __devinit qe_udc_probe(struct of_device *ofdev, device_initialize(&udc_controller->gadget.dev); - strcpy(udc_controller->gadget.dev.bus_id, "gadget"); + dev_set_name(&udc_controller->gadget.dev, "gadget"); udc_controller->gadget.dev.release = qe_udc_release; udc_controller->gadget.dev.parent = &ofdev->dev; |