Module: xenomai-abe
Branch: analogy
Commit: 58f12084d460512676f4aeef9122ea43780b0865
URL:    
http://git.xenomai.org/?p=xenomai-abe.git;a=commit;h=58f12084d460512676f4aeef9122ea43780b0865

Author: Alexis Berlemont <alexis.berlem...@gmail.com>
Date:   Wed Dec  9 22:32:35 2009 +0100

analogy: add missing channel and range descriptors in the loop driver

---

 ksrc/drivers/analogy/testing/loop.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ksrc/drivers/analogy/testing/loop.c 
b/ksrc/drivers/analogy/testing/loop.c
index fae90cb..14d46c5 100644
--- a/ksrc/drivers/analogy/testing/loop.c
+++ b/ksrc/drivers/analogy/testing/loop.c
@@ -191,6 +191,8 @@ void setup_output_subd(a4l_subd_t *subd)
        subd->flags = A4L_SUBD_AO;
        subd->flags |= A4L_SUBD_CMD;
        subd->flags |= A4L_SUBD_MMAP;
+       subd->rng_desc = &loop_rngdesc;
+       subd->chan_desc = &loop_chandesc;
        subd->insn_read = loop_insn_read;
        subd->insn_write = loop_insn_write;
 }


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to