diff options
author | stephen hemminger <stephen@networkplumber.org> | 2014-03-06 17:20:17 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-06 17:39:19 -0500 |
commit | 28f084cca35a73698568d8c060bbb98193021db5 (patch) | |
tree | a2266adda9ac371139060ba23c8df3ea5b674cbc /drivers/net/bonding/bond_procfs.c | |
parent | 6f542efcbc74801eb4bfa0dbba64c2df6811b2d3 (diff) |
bonding: fix const in options processing
This is a fixup patch to resolve issues with const from my earlier patch.
Make all the setter functions use const on input parameter.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_procfs.c')
-rw-r--r-- | drivers/net/bonding/bond_procfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_procfs.c b/drivers/net/bonding/bond_procfs.c index 588cf39d832c..013fdd0f45e9 100644 --- a/drivers/net/bonding/bond_procfs.c +++ b/drivers/net/bonding/bond_procfs.c | |||
@@ -65,7 +65,7 @@ static void bond_info_seq_stop(struct seq_file *seq, void *v) | |||
65 | static void bond_info_show_master(struct seq_file *seq) | 65 | static void bond_info_show_master(struct seq_file *seq) |
66 | { | 66 | { |
67 | struct bonding *bond = seq->private; | 67 | struct bonding *bond = seq->private; |
68 | struct bond_opt_value *optval; | 68 | const struct bond_opt_value *optval; |
69 | struct slave *curr; | 69 | struct slave *curr; |
70 | int i; | 70 | int i; |
71 | 71 | ||