summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/tegra_udc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/tegra_udc.c b/drivers/usb/gadget/tegra_udc.c
index 89ed8be52d16..b4141f4c5d06 100644
--- a/drivers/usb/gadget/tegra_udc.c
+++ b/drivers/usb/gadget/tegra_udc.c
@@ -2804,9 +2804,9 @@ static int tegra_udc_ep_setup(struct tegra_udc *udc)
for (i = 1; i < (int)(udc->max_ep / 2); i++) {
char name[14];
- sprintf(name, "ep%dout", i);
+ sprintf(name, "ep%hhdout", i);
struct_ep_setup(udc, i * 2, name, 1);
- sprintf(name, "ep%din", i);
+ sprintf(name, "ep%hhdin", i);
struct_ep_setup(udc, i * 2 + 1, name, 1);
}