summaryrefslogtreecommitdiffstats
path: root/firmware/target
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2010-08-12 08:43:18 +0000
committerMichael Sparmann <theseven@rockbox.org>2010-08-12 08:43:18 +0000
commit524035b77266e0dbacd4065c17e577edf2aa225f (patch)
treead1f9fe293393817c9c0c5a45dfe22d41f0c1cf4 /firmware/target
parentf3834a46262a548051d882db813f4d408939989b (diff)
downloadrockbox-524035b77266e0dbacd4065c17e577edf2aa225f.tar.gz
rockbox-524035b77266e0dbacd4065c17e577edf2aa225f.tar.bz2
rockbox-524035b77266e0dbacd4065c17e577edf2aa225f.zip
Fix red: Revert the const correctness part, which opened a can of worms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27780 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/usb-s3c6400x.c4
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)
DOEPCTL(ep) |= 0x84000000; /* EPx OUT ENABLE CLEARNAK */
}
-int usb_drv_send(int endpoint, const void *ptr, int length)
+int usb_drv_send(int endpoint, void *ptr, int length)
{
endpoint &= 0x7f;
endpoints[endpoint].done = false;
@@ -328,7 +328,7 @@ int usb_drv_send(int endpoint, const void *ptr, int length)
return endpoints[endpoint].rc;
}
-int usb_drv_send_nonblocking(int endpoint, const void *ptr, int length)
+int usb_drv_send_nonblocking(int endpoint, void *ptr, int length)
{
ep_send(endpoint & 0x7f, ptr, length);
return 0;