Whamcloud - gitweb
LU-1346 libcfs: cleanup libcfs primitive (linux-prim.h)
[fs/lustre-release.git] / libcfs / include / libcfs / params_tree.h
index 41413eb..3e94d7d 100644 (file)
@@ -54,7 +54,6 @@ typedef struct proc_inode                       cfs_proc_inode_t;
 typedef struct seq_file                         cfs_seq_file_t;
 typedef struct seq_operations                   cfs_seq_ops_t;
 typedef struct file_operations                  cfs_param_file_ops_t;
-typedef cfs_module_t                           *cfs_param_module_t;
 typedef struct proc_dir_entry                   cfs_param_dentry_t;
 typedef struct poll_table_struct                cfs_poll_table_t;
 #define CFS_PARAM_MODULE                        THIS_MODULE
@@ -151,11 +150,10 @@ typedef struct cfs_seq_operations {
         int   (*show) (cfs_seq_file_t *m, void *v);
 } cfs_seq_ops_t;
 
-typedef void *cfs_param_module_t;
 typedef void *cfs_poll_table_t;
 
-typedef struct cfs_param_file_ops {
-       cfs_param_module_t owner;
+typedef struct cfs_param_file_ops{
+       struct module   *owner;
        int (*open) (cfs_inode_t *, struct file *);
        loff_t (*llseek)(struct file *, loff_t, int);
        int (*release) (cfs_inode_t *, cfs_param_file_t *);