diff options
author | Joe Perches <joe@perches.com> | 2020-10-03 17:18:08 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-11-19 19:37:17 -0800 |
commit | 7c47ee5aa00817d8b10f415b4a92d5fb3ac35273 (patch) | |
tree | 665675cbbbcf0f14dcff596e43dd4f2491dc41cc /kernel/rcu | |
parent | 9f866dac94292f93d3b6bf8dbe860a44b954e555 (diff) | |
download | linux-7c47ee5aa00817d8b10f415b4a92d5fb3ac35273.tar.bz2 |
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>
Diffstat (limited to 'kernel/rcu')
-rw-r--r-- | kernel/rcu/tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index e4d6d0b1b853..5f458e4efc95 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -546,12 +546,12 @@ static int param_set_next_fqs_jiffies(const char *val, const struct kernel_param 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, .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, .get = param_get_ulong, }; |