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

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.se


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent db774712
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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",
};