summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/device_main.c
diff options
context:
space:
mode:
authorCihangir Akturk <cakturk@gmail.com>2015-07-22 15:59:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-22 20:49:39 -0700
commit83aa2ac65a36e77f5651ef8946003b856cab49bc (patch)
treee05288a29704d725c2ddd250d47b9b27f17b17cf /drivers/staging/vt6655/device_main.c
parent3377bad9c7ea427c002173ffcee6fc6a14833739 (diff)
downloadop-kernel-dev-83aa2ac65a36e77f5651ef8946003b856cab49bc.zip
op-kernel-dev-83aa2ac65a36e77f5651ef8946003b856cab49bc.tar.gz
staging: lustre: obdclass: Make structure declerations static const
obd_device_list_sops and obd_device_list_fops are not referenced outside of linux-module.c, and in the general use case struct file_operations and struct seq_operations should be a const object, so make them static and const. This patch fixes the following sparse warnings: WARNING: struct seq_operations should normally be const WARNING: struct file_operations should normally be const Signed-off-by: Cihangir Akturk <cakturk@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/device_main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud