diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2012-01-09 13:14:59 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-01-24 11:25:31 +0200 |
commit | d262127c330b852ce4b210a0b1b06e69d4d87704 (patch) | |
tree | 93d44c19db8f8874906f77ff26b4c3b3a5c12169 /drivers/usb/gadget/dummy_hcd.c | |
parent | 14fce33a960afbcf91ef97135903092c33f6d076 (diff) | |
download | linux-d262127c330b852ce4b210a0b1b06e69d4d87704.tar.bz2 |
usb: gadget: dummy_hcd: rename dummy_udc_udpate_ep0() to dummy_udc_update_ep0()
This renames a function so "update" is spelled properly.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/dummy_hcd.c')
-rw-r--r-- | drivers/usb/gadget/dummy_hcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/dummy_hcd.c b/drivers/usb/gadget/dummy_hcd.c index 4973778b7785..a40dc6a4c9eb 100644 --- a/drivers/usb/gadget/dummy_hcd.c +++ b/drivers/usb/gadget/dummy_hcd.c @@ -801,7 +801,7 @@ static int dummy_set_selfpowered (struct usb_gadget *_gadget, int value) return 0; } -static void dummy_udc_udpate_ep0(struct dummy *dum) +static void dummy_udc_update_ep0(struct dummy *dum) { if (dum->gadget.speed == USB_SPEED_SUPER) dum->ep[0].ep.maxpacket = 9; @@ -825,7 +825,7 @@ static int dummy_pullup (struct usb_gadget *_gadget, int value) dum->driver->max_speed); else dum->gadget.speed = USB_SPEED_FULL; - dummy_udc_udpate_ep0(dum); + dummy_udc_update_ep0(dum); if (dum->gadget.speed < dum->driver->max_speed) dev_dbg(udc_dev(dum), "This device can perform faster" |