mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
Staging: lustre: Added const
WARNING: struct file_operations should normally be const. That was found by running checkpatch. Signed-off-by: Melike Yurtoglu <aysemelikeyurtoglu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7c30daaa38
commit
dddf4c23bb
1 changed files with 1 additions and 1 deletions
|
|
@ -1083,7 +1083,7 @@ void ptlrpc_lprocfs_register_service(struct proc_dir_entry *entry,
|
|||
.data = svc},
|
||||
{NULL}
|
||||
};
|
||||
static struct file_operations req_history_fops = {
|
||||
static const struct file_operations req_history_fops = {
|
||||
.owner = THIS_MODULE,
|
||||
.open = ptlrpc_lprocfs_svc_req_history_open,
|
||||
.read = seq_read,
|
||||
|
|
|
|||
Loading…
Reference in a new issue