diff options
Diffstat (limited to 'firmware/target/hosted/ypr0/ascodec-ypr0.c')
-rw-r--r-- | firmware/target/hosted/ypr0/ascodec-ypr0.c | 3 |
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 | ||
53 | int ascodec_init(void) | 53 | void 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 | ||
59 | void ascodec_close(void) | 58 | void ascodec_close(void) |