mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue