aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-01-11 04:38:59 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-12 13:57:56 -0400
commit71fa7421822a251fc3e9ffb54653395b6b964309 (patch)
treef632190e89f892401802dcd8c3800eee1dba7aeb /drivers/scsi
parent6e7490c73d8cc48e7084ac976c8be7bbaf530acf (diff)
[SCSI] lpfc: constify virtual function tables
Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Acked-by: James Smart <James.Smart@Emulex.Com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/lpfc/lpfc_debugfs.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c
index b615eda361d5..81cdcf46c471 100644
--- a/drivers/scsi/lpfc/lpfc_debugfs.c
+++ b/drivers/scsi/lpfc/lpfc_debugfs.c
@@ -1132,7 +1132,7 @@ lpfc_debugfs_dumpDataDif_release(struct inode *inode, struct file *file)
1132} 1132}
1133 1133
1134#undef lpfc_debugfs_op_disc_trc 1134#undef lpfc_debugfs_op_disc_trc
1135static struct file_operations lpfc_debugfs_op_disc_trc = { 1135static const struct file_operations lpfc_debugfs_op_disc_trc = {
1136 .owner = THIS_MODULE, 1136 .owner = THIS_MODULE,
1137 .open = lpfc_debugfs_disc_trc_open, 1137 .open = lpfc_debugfs_disc_trc_open,
1138 .llseek = lpfc_debugfs_lseek, 1138 .llseek = lpfc_debugfs_lseek,
@@ -1141,7 +1141,7 @@ static struct file_operations lpfc_debugfs_op_disc_trc = {
1141}; 1141};
1142 1142
1143#undef lpfc_debugfs_op_nodelist 1143#undef lpfc_debugfs_op_nodelist
1144static struct file_operations lpfc_debugfs_op_nodelist = { 1144static const struct file_operations lpfc_debugfs_op_nodelist = {
1145 .owner = THIS_MODULE, 1145 .owner = THIS_MODULE,
1146 .open = lpfc_debugfs_nodelist_open, 1146 .open = lpfc_debugfs_nodelist_open,
1147 .llseek = lpfc_debugfs_lseek, 1147 .llseek = lpfc_debugfs_lseek,
@@ -1150,7 +1150,7 @@ static struct file_operations lpfc_debugfs_op_nodelist = {
1150}; 1150};
1151 1151
1152#undef lpfc_debugfs_op_hbqinfo 1152#undef lpfc_debugfs_op_hbqinfo
1153static struct file_operations lpfc_debugfs_op_hbqinfo = { 1153static const struct file_operations lpfc_debugfs_op_hbqinfo = {
1154 .owner = THIS_MODULE, 1154 .owner = THIS_MODULE,
1155 .open = lpfc_debugfs_hbqinfo_open, 1155 .open = lpfc_debugfs_hbqinfo_open,
1156 .llseek = lpfc_debugfs_lseek, 1156 .llseek = lpfc_debugfs_lseek,
@@ -1159,7 +1159,7 @@ static struct file_operations lpfc_debugfs_op_hbqinfo = {
1159}; 1159};
1160 1160
1161#undef lpfc_debugfs_op_dumpHBASlim 1161#undef lpfc_debugfs_op_dumpHBASlim
1162static struct file_operations lpfc_debugfs_op_dumpHBASlim = { 1162static const struct file_operations lpfc_debugfs_op_dumpHBASlim = {
1163 .owner = THIS_MODULE, 1163 .owner = THIS_MODULE,
1164 .open = lpfc_debugfs_dumpHBASlim_open, 1164 .open = lpfc_debugfs_dumpHBASlim_open,
1165 .llseek = lpfc_debugfs_lseek, 1165 .llseek = lpfc_debugfs_lseek,
@@ -1168,7 +1168,7 @@ static struct file_operations lpfc_debugfs_op_dumpHBASlim = {
1168}; 1168};
1169 1169
1170#undef lpfc_debugfs_op_dumpHostSlim 1170#undef lpfc_debugfs_op_dumpHostSlim
1171static struct file_operations lpfc_debugfs_op_dumpHostSlim = { 1171static const struct file_operations lpfc_debugfs_op_dumpHostSlim = {
1172 .owner = THIS_MODULE, 1172 .owner = THIS_MODULE,
1173 .open = lpfc_debugfs_dumpHostSlim_open, 1173 .open = lpfc_debugfs_dumpHostSlim_open,
1174 .llseek = lpfc_debugfs_lseek, 1174 .llseek = lpfc_debugfs_lseek,
@@ -1177,7 +1177,7 @@ static struct file_operations lpfc_debugfs_op_dumpHostSlim = {
1177}; 1177};
1178 1178
1179#undef lpfc_debugfs_op_dumpData 1179#undef lpfc_debugfs_op_dumpData
1180static struct file_operations lpfc_debugfs_op_dumpData = { 1180static const struct file_operations lpfc_debugfs_op_dumpData = {
1181 .owner = THIS_MODULE, 1181 .owner = THIS_MODULE,
1182 .open = lpfc_debugfs_dumpData_open, 1182 .open = lpfc_debugfs_dumpData_open,
1183 .llseek = lpfc_debugfs_lseek, 1183 .llseek = lpfc_debugfs_lseek,
@@ -1187,7 +1187,7 @@ static struct file_operations lpfc_debugfs_op_dumpData = {
1187}; 1187};
1188 1188
1189#undef lpfc_debugfs_op_dumpDif 1189#undef lpfc_debugfs_op_dumpDif
1190static struct file_operations lpfc_debugfs_op_dumpDif = { 1190static const struct file_operations lpfc_debugfs_op_dumpDif = {
1191 .owner = THIS_MODULE, 1191 .owner = THIS_MODULE,
1192 .open = lpfc_debugfs_dumpDif_open, 1192 .open = lpfc_debugfs_dumpDif_open,
1193 .llseek = lpfc_debugfs_lseek, 1193 .llseek = lpfc_debugfs_lseek,
@@ -1197,7 +1197,7 @@ static struct file_operations lpfc_debugfs_op_dumpDif = {
1197}; 1197};
1198 1198
1199#undef lpfc_debugfs_op_slow_ring_trc 1199#undef lpfc_debugfs_op_slow_ring_trc
1200static struct file_operations lpfc_debugfs_op_slow_ring_trc = { 1200static const struct file_operations lpfc_debugfs_op_slow_ring_trc = {
1201 .owner = THIS_MODULE, 1201 .owner = THIS_MODULE,
1202 .open = lpfc_debugfs_slow_ring_trc_open, 1202 .open = lpfc_debugfs_slow_ring_trc_open,
1203 .llseek = lpfc_debugfs_lseek, 1203 .llseek = lpfc_debugfs_lseek,