Module: xenomai-abe
Branch: experimental
Commit: 158ab2036fe236900eda091ba9608529632c00ce
URL:    
http://git.xenomai.org/?p=xenomai-abe.git;a=commit;h=158ab2036fe236900eda091ba9608529632c00ce

Author: Alexis Berlemont <alexis.berlem...@gmail.com>
Date:   Wed May 19 23:35:12 2010 +0200

analogy: last updates in the buffer part (broken)

---

 ksrc/drivers/analogy/buffer.c |   13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/ksrc/drivers/analogy/buffer.c b/ksrc/drivers/analogy/buffer.c
index c9b1682..011753a 100644
--- a/ksrc/drivers/analogy/buffer.c
+++ b/ksrc/drivers/analogy/buffer.c
@@ -387,8 +387,8 @@ void a4l_unmap(struct vm_area_struct *area)
 }
 
 static struct vm_operations_struct a4l_vm_ops = {
-open:a4l_map,
-close:a4l_unmap,
+       .open = a4l_map,
+       .close = a4l_unmap,
 };
 
 int a4l_ioctl_mmap(a4l_cxt_t *cxt, void *arg)
@@ -397,9 +397,6 @@ int a4l_ioctl_mmap(a4l_cxt_t *cxt, void *arg)
        a4l_dev_t *dev;
        int ret;
 
-       __a4l_dbg(1, core_dbg, 
-                 "a4l_ioctl_mmap: minor=%d\n", a4l_get_minor(cxt));
-
        /* The mmap operation cannot be performed in a 
           real-time context */
        if (rtdm_in_rt_context()) {
@@ -511,9 +508,6 @@ int a4l_ioctl_bufcfg(a4l_cxt_t * cxt, void *arg)
        a4l_dev_t *dev = a4l_get_dev(cxt);
        a4l_bufcfg_t buf_cfg;
 
-       __a4l_dbg(1, core_dbg, 
-                 "a4l_ioctl_bufcfg: minor=%d\n", a4l_get_minor(cxt));
-
        /* As Linux API is used to allocate a virtual buffer,
           the calling process must not be in primary mode */
        if (rtdm_in_rt_context()) {
@@ -580,9 +574,6 @@ int a4l_ioctl_bufinfo(a4l_cxt_t * cxt, void *arg)
        unsigned long tmp_cnt;
        int ret;
 
-       __a4l_dbg(1, core_dbg, 
-                 "a4l_ioctl_bufinfo: minor=%d\n", a4l_get_minor(cxt));
-
        if (!rtdm_in_rt_context() && rtdm_rt_capable(cxt->user_info))
                return -ENOSYS;
 


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

Reply via email to