usb: gadget: fsl_udc_core: fix compile error.
authorAlexander Aring <a.aring@phytec.de>
Fri, 4 Nov 2011 15:16:26 +0000 (16:16 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 14 Nov 2011 19:51:21 +0000 (11:51 -0800)
commit0e042be348b864a57a8a452aaa7ec49be5fb9e59
treec82d98df1ed7bb182e9156c9cd47dd91af95896c
parent05bb7013038a2b609aef14ad4e07afe031daec49
usb: gadget: fsl_udc_core: fix compile error.

Fix compile error in file drivers/usb/gadget/fsl_udc_core.c.

drivers/usb/gadget/fsl_udc_core.c: In function 'portscx_device_speed':
drivers/usb/gadget/fsl_udc_core.c:1720: error: 'speed' undeclared (first
use in this function)

Introduced in commit e538dfdae85244fd2c4231725d82cc1f1bc4942c
(usb: Provide usb_speed_string() function)

Signed-off-by: Alexander Aring <a.aring@phytec.de>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/fsl_udc_core.c