Commit cec85994 authored by Jonas Bonn's avatar Jonas Bonn Committed by Jakub Kicinski

bareudp: constify device_type declaration

device_type may be declared as const.
Signed-off-by: default avatarJonas Bonn <jonas@norrbonn.se>
Link: https://lore.kernel.org/r/20201202122324.564918-1-jonas@norrbonn.seSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent db774712
......@@ -522,7 +522,7 @@ static const struct nla_policy bareudp_policy[IFLA_BAREUDP_MAX + 1] = {
};
/* Info for udev, that this is a virtual tunnel endpoint */
static struct device_type bareudp_type = {
static const struct device_type bareudp_type = {
.name = "bareudp",
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment