bareudp: constify device_type declaration
device_type may be declared as const. Signed-off-by: Jonas Bonn <jonas@norrbonn.se> Link: https://lore.kernel.org/r/20201202122324.564918-1-jonas@norrbonn.se Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
db77471259
commit
cec85994c6
|
@ -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",
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue