Module: xenomai-forge
Branch: next
Commit: a190257503a75871588ced27f1fbdfa339ee9b52
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=a190257503a75871588ced27f1fbdfa339ee9b52

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue Sep  9 17:06:48 2014 +0200

cobalt/kernel: omit .owner for internal fops

---

 kernel/cobalt/pipe.c  |    1 -
 kernel/cobalt/vfile.c |    2 --
 2 files changed, 3 deletions(-)

diff --git a/kernel/cobalt/pipe.c b/kernel/cobalt/pipe.c
index 4e55448..a649ecf 100644
--- a/kernel/cobalt/pipe.c
+++ b/kernel/cobalt/pipe.c
@@ -1093,7 +1093,6 @@ static unsigned xnpipe_poll(struct file *file, poll_table 
*pt)
 }
 
 static struct file_operations xnpipe_fops = {
-       .owner = THIS_MODULE,
        .read = xnpipe_read,
        .write = xnpipe_write,
        .poll = xnpipe_poll,
diff --git a/kernel/cobalt/vfile.c b/kernel/cobalt/vfile.c
index 925f2f6..553b4c0 100644
--- a/kernel/cobalt/vfile.c
+++ b/kernel/cobalt/vfile.c
@@ -339,7 +339,6 @@ ssize_t vfile_snapshot_write(struct file *file, const char 
__user *buf,
 }
 
 static struct file_operations vfile_snapshot_fops = {
-       .owner = THIS_MODULE,
        .open = vfile_snapshot_open,
        .read = seq_read,
        .write = vfile_snapshot_write,
@@ -592,7 +591,6 @@ ssize_t vfile_regular_write(struct file *file, const char 
__user *buf,
 }
 
 static struct file_operations vfile_regular_fops = {
-       .owner = THIS_MODULE,
        .open = vfile_regular_open,
        .read = seq_read,
        .write = vfile_regular_write,


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to