]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/tty/tty_io.c
switch device_get_devnode() and ->devnode() to umode_t *
[mirror_ubuntu-artful-kernel.git] / drivers / tty / tty_io.c
index 05085beb83dbe31b49679735530fa4a5a42b8882..3fdebd306b9436e11c6f65d457464b8723895a10 100644 (file)
@@ -3267,7 +3267,7 @@ void __init console_init(void)
        }
 }
 
-static char *tty_devnode(struct device *dev, mode_t *mode)
+static char *tty_devnode(struct device *dev, umode_t *mode)
 {
        if (!mode)
                return NULL;