Hi Alan, Today's linux-next merge of the ttydev tree got a conflict in drivers/char/tty_io.c between commit e9b4b8816d7516318a3472f600ad9734e300c7bc ("device create: char: convert device_create_drvdata to device_create") from the driver-core tree and commit 05d425154eb1c1c053be5e54dcc4b1db36b15d3b("tty-move-special-cases") from the ttydev tree. The former renamed a function used in the code that the latter moved. I fixed it up (see below). -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx http://www.canb.auug.org.au/~sfr/ diff --git a/drivers/char/pty.c b/drivers/char/pty.c index af2ab67..328e8ac 100644 --- a/drivers/char/pty.c +++ b/drivers/char/pty.c @@ -535,7 +535,7 @@ static void __init unix98_pty_init(void) if (cdev_add(&ptmx_cdev, MKDEV(TTYAUX_MAJOR, 2), 1) || register_chrdev_region(MKDEV(TTYAUX_MAJOR, 2), 1, "/dev/ptmx") < 0) panic("Couldn't register /dev/ptmx driver\n"); - device_create_drvdata(tty_class, NULL, MKDEV(TTYAUX_MAJOR, 2), NULL, "ptmx"); + device_create(tty_class, NULL, MKDEV(TTYAUX_MAJOR, 2), NULL, "ptmx"); } #else diff --git a/drivers/char/vt.c b/drivers/char/vt.c index 06a840d..2ec7bfe 100644 --- a/drivers/char/vt.c +++ b/drivers/char/vt.c @@ -2931,7 +2931,7 @@ int __init vty_init(const struct file_operations *console_fops) if (cdev_add(&vc0_cdev, MKDEV(TTY_MAJOR, 0), 1) || register_chrdev_region(MKDEV(TTY_MAJOR, 0), 1, "/dev/vc/0") < 0) panic("Couldn't register /dev/tty0 driver\n"); - device_create_drvdata(tty_class, NULL, MKDEV(TTY_MAJOR, 0), NULL, "tty0"); + device_create(tty_class, NULL, MKDEV(TTY_MAJOR, 0), NULL, "tty0"); vcs_init(); -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html