mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
rcu/tree: Make struct kernel_param_ops definitions const
These should be const, so make it so. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
This commit is contained in:
parent
9f866dac94
commit
7c47ee5aa0
1 changed files with 2 additions and 2 deletions
|
@ -546,12 +546,12 @@ static int param_set_next_fqs_jiffies(const char *val, const struct kernel_param
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct kernel_param_ops first_fqs_jiffies_ops = {
|
static const struct kernel_param_ops first_fqs_jiffies_ops = {
|
||||||
.set = param_set_first_fqs_jiffies,
|
.set = param_set_first_fqs_jiffies,
|
||||||
.get = param_get_ulong,
|
.get = param_get_ulong,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct kernel_param_ops next_fqs_jiffies_ops = {
|
static const struct kernel_param_ops next_fqs_jiffies_ops = {
|
||||||
.set = param_set_next_fqs_jiffies,
|
.set = param_set_next_fqs_jiffies,
|
||||||
.get = param_get_ulong,
|
.get = param_get_ulong,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue