summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/ypr0/ascodec-ypr0.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-01-17 08:19:51 +0100
committerThomas Martitz <kugel@rockbox.org>2012-01-21 18:39:19 +0100
commit856bb420377d4c39abcdf274d79e8f064fe33e86 (patch)
tree66f2f4dd915b2fafdee28bb70be5c6fd835cf6c7 /firmware/target/hosted/ypr0/ascodec-ypr0.c
parent5b4a6c4267074c40655213e443ab4997530a4a98 (diff)
downloadrockbox-856bb420377d4c39abcdf274d79e8f064fe33e86.tar.gz
rockbox-856bb420377d4c39abcdf274d79e8f064fe33e86.zip
ypr0: Fix build failure.
Change-Id: I327d58fde66fc7fa65f91e0ca724c3fd8066ccf6
Diffstat (limited to 'firmware/target/hosted/ypr0/ascodec-ypr0.c')
-rw-r--r--firmware/target/hosted/ypr0/ascodec-ypr0.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/target/hosted/ypr0/ascodec-ypr0.c b/firmware/target/hosted/ypr0/ascodec-ypr0.c
index 954b4d95ef..cc923842df 100644
--- a/firmware/target/hosted/ypr0/ascodec-ypr0.c
+++ b/firmware/target/hosted/ypr0/ascodec-ypr0.c
@@ -50,10 +50,9 @@ struct codec_req_struct {
50#define IOCTL_SUBREG_READ 0x80034103 50#define IOCTL_SUBREG_READ 0x80034103
51 51
52 52
53int ascodec_init(void) 53void ascodec_init(void)
54{ 54{
55 afe_dev = open("/dev/afe", O_RDWR); 55 afe_dev = open("/dev/afe", O_RDWR);
56 return afe_dev;
57} 56}
58 57
59void ascodec_close(void) 58void ascodec_close(void)