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:
Jonas Bonn 2020-12-02 13:23:24 +01:00 committed by Jakub Kicinski
parent db77471259
commit cec85994c6

View file

@ -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",
};