Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12d8de6d authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller
Browse files

net: make genetlink ctrl ops const

parent 5a256347
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -977,7 +977,7 @@ static int genl_ctrl_event(int event, struct genl_family *family,
	return 0;
}

static struct genl_ops genl_ctrl_ops[] = {
static const struct genl_ops genl_ctrl_ops[] = {
	{
		.cmd		= CTRL_CMD_GETFAMILY,
		.doit		= ctrl_getfamily,
@@ -986,7 +986,7 @@ static struct genl_ops genl_ctrl_ops[] = {
	},
};

static struct genl_multicast_group genl_ctrl_groups[] = {
static const struct genl_multicast_group genl_ctrl_groups[] = {
	{ .name = "notify", },
};