diff options
Diffstat (limited to 'firmware/target/arm/usb-s3c6400x.c')
-rw-r--r-- | firmware/target/arm/usb-s3c6400x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/usb-s3c6400x.c b/firmware/target/arm/usb-s3c6400x.c index 8755eabdf9..dbba9f39aa 100644 --- a/firmware/target/arm/usb-s3c6400x.c +++ b/firmware/target/arm/usb-s3c6400x.c | |||
@@ -318,7 +318,7 @@ static void ep_recv(int ep, void *ptr, int length) | |||
318 | DOEPCTL(ep) |= 0x84000000; /* EPx OUT ENABLE CLEARNAK */ | 318 | DOEPCTL(ep) |= 0x84000000; /* EPx OUT ENABLE CLEARNAK */ |
319 | } | 319 | } |
320 | 320 | ||
321 | int usb_drv_send(int endpoint, const void *ptr, int length) | 321 | int usb_drv_send(int endpoint, void *ptr, int length) |
322 | { | 322 | { |
323 | endpoint &= 0x7f; | 323 | endpoint &= 0x7f; |
324 | endpoints[endpoint].done = false; | 324 | endpoints[endpoint].done = false; |
@@ -328,7 +328,7 @@ int usb_drv_send(int endpoint, const void *ptr, int length) | |||
328 | return endpoints[endpoint].rc; | 328 | return endpoints[endpoint].rc; |
329 | } | 329 | } |
330 | 330 | ||
331 | int usb_drv_send_nonblocking(int endpoint, const void *ptr, int length) | 331 | int usb_drv_send_nonblocking(int endpoint, void *ptr, int length) |
332 | { | 332 | { |
333 | ep_send(endpoint & 0x7f, ptr, length); | 333 | ep_send(endpoint & 0x7f, ptr, length); |
334 | return 0; | 334 | return 0; |