]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/net/tun.c
Driver-Core: extend devnode callbacks to provide permissions
[mirror_ubuntu-bionic-kernel.git] / drivers / net / tun.c
index 3f5d28851aa20e4b175a05133faf27161f199f0c..d3ee1994b02f2c6b19b35fa2e4d1d799503aa207 100644 (file)
@@ -1370,7 +1370,7 @@ static const struct file_operations tun_fops = {
 static struct miscdevice tun_miscdev = {
        .minor = TUN_MINOR,
        .name = "tun",
-       .devnode = "net/tun",
+       .nodename = "net/tun",
        .fops = &tun_fops,
 };