Commit 7c47ee5a authored by Joe Perches's avatar Joe Perches Committed by Paul E. McKenney
Browse files

rcu/tree: Make struct kernel_param_ops definitions const



These should be const, so make it so.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 9f866dac
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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,
};