diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-03 23:48:41 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-03 23:48:41 (GMT) |
commit | c34d9cd855b48d9dbedbd801f5e3019776c86e4c (patch) | |
tree | 9b68b6f0278c056f491cbb2794490f0c42b42fb6 /drivers/staging/lustre/include | |
parent | 409ccba9f222f4952843fee15432c67fbab53c74 (diff) | |
download | linux-fsl-qoriq-c34d9cd855b48d9dbedbd801f5e3019776c86e4c.tar.xz |
staging: lustre: remove typedef for module_t
Use "struct module" like the rest of the kernel, not a typedef.
Cc: Peng Tao <tao.peng@emc.com>
Cc: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/include')
-rw-r--r-- | drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h | 2 | ||||
-rw-r--r-- | drivers/staging/lustre/include/linux/libcfs/params_tree.h | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h b/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h index e43ece6..23bccf2 100644 --- a/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h +++ b/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h @@ -80,8 +80,6 @@ LL_PROC_PROTO(name) \ __##name); \ } -typedef struct module module_t; - /* * Proc file system APIs */ diff --git a/drivers/staging/lustre/include/linux/libcfs/params_tree.h b/drivers/staging/lustre/include/linux/libcfs/params_tree.h index 3f18a44..78a2c4e 100644 --- a/drivers/staging/lustre/include/linux/libcfs/params_tree.h +++ b/drivers/staging/lustre/include/linux/libcfs/params_tree.h @@ -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 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 @@ -115,11 +114,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; + 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 *); |