projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6b5b50
)
IPoIB: Constify seq_operations function pointer tables
author
Jan Engelhardt
<jengelh@computergmbh.de>
Tue, 22 Jan 2008 19:45:30 +0000
(20:45 +0100)
committer
Roland Dreier
<rolandd@cisco.com>
Fri, 25 Jan 2008 22:17:46 +0000
(14:17 -0800)
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_fs.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/ulp/ipoib/ipoib_fs.c
b/drivers/infiniband/ulp/ipoib/ipoib_fs.c
index 44c174182a829b39a53d80d72c3f38791f398bbc..8b882bbd1d051ff5fc6673abcad8f927afb24025 100644
(file)
--- a/
drivers/infiniband/ulp/ipoib/ipoib_fs.c
+++ b/
drivers/infiniband/ulp/ipoib/ipoib_fs.c
@@
-124,7
+124,7
@@
static int ipoib_mcg_seq_show(struct seq_file *file, void *iter_ptr)
return 0;
}
-static struct seq_operations ipoib_mcg_seq_ops = {
+static
const
struct seq_operations ipoib_mcg_seq_ops = {
.start = ipoib_mcg_seq_start,
.next = ipoib_mcg_seq_next,
.stop = ipoib_mcg_seq_stop,
@@
-230,7
+230,7
@@
static int ipoib_path_seq_show(struct seq_file *file, void *iter_ptr)
return 0;
}
-static struct seq_operations ipoib_path_seq_ops = {
+static
const
struct seq_operations ipoib_path_seq_ops = {
.start = ipoib_path_seq_start,
.next = ipoib_path_seq_next,
.stop = ipoib_path_seq_stop,